Unable to plot using Vincent,

纵饮孤独 提交于 2019-12-24 02:17:06

问题


Slightly related to: Unable plot with vincent in IPython, yet none of the suggested solutions work for me. I'm using an IPython Notebook, also the latest version.

I'm using python 3.4 and just installed the latest version of Vincent. When I try to plot the example in the documentation:

import json
import vincent
vincent.initialize_notebook()

world_topo = r'world-countries.topo.json'
geo_data = [{'name': 'countries',
         'url': world_topo,
         'feature': 'world-countries'}]

vis = vincent.Map(geo_data=geo_data, scale=200)
vis.display()

I don't get anything plotted.

来源:https://stackoverflow.com/questions/28480426/unable-to-plot-using-vincent

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!