[IPython-dev] try jsplugins d3graph

Cyrille Rossant cyrille.rossant@gmail....
Fri Nov 30 09:38:29 CST 2012


2012/11/30 W Gong <wen.g.gong@gmail.com>

> Hi,
> I followed the instruction from  jsplugins > d3graph > README.md
>
> d3graph.py : copied to .ipython\extensions
>
> d3graph.js and d3graph.css : copied
> to .ipython\profile_default\static\jsplugins\d3graph
>
> (Note: I am on window, using EPD and
> ipython-0.13.2.dev-py2.7.egg)
>
> run ipython notebook --pylab inline
>
> open Visualizing Graphs with d3.ipynb
>
> each cell was executed, but the graph did not show up.
>
> But I can plot graph with:
>
> pos=nx.spring_layout(G,iterations=100)
> plt.subplot(221)
> nx.draw(G,pos,font_size=8)
>
>
> A screenshot is available at
> http://dl.dropbox.com/u/54552252/d3graph_display-not-showing.jpg
>
> Let me what is missing
>

Hi,

Are you using this branch for IPython?
https://github.com/ellisonbg/ipython/tree/jsonhandlers

Cyrille
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20121130/34e4812a/attachment.html 


More information about the IPython-dev mailing list