Unable plot with vincent in IPython

前端 未结 3 1760
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-17 00:13

Trying to plot sample plot with vincent in IPython:

import vincent
vincent.core.initialize_notebook()

list_data = [10, 20, 30, 20, 15, 30, 45]

bar = vincen         


        
3条回答
  •  长情又很酷
    2020-12-17 00:43

    Any chance you are behind a proxy? I get the same result. Googling around it looks like vincent.core.initialize_notebook() tries to hit the following two urls.

    d3_js_url = "http://d3js.org/d3.v3.min.js" vega_js_url = 'http://trifacta.github.com/vega/vega.js'

    I think if I let Chrome have the proxy credentials this would work, but haven't due to IT restrictions.

提交回复
热议问题