[IPython-dev] try jsplugins d3graph

Brian Granger ellisonbg at gmail.com
Fri Nov 30 12:10:30 EST 2012


I think there is a problem with the pytutor one right now, as Fernando
ran into something similar.  PRs welcome :)

Brian

On Fri, Nov 30, 2012 at 8:58 AM, W Gong <wen.g.gong at gmail.com> wrote:
> yes,
> d3grpah now works,
>
> But PyTutor does not:
> after %%pytutor, shall I expect the callstack to display? nothing is display
> for me
>
> Did I miss any pre-requisite? Any suggestion?
>
> Thanks,
> Wen
>
>
> On Fri, Nov 30, 2012 at 10:50 AM, W Gong <wen.g.gong at gmail.com> wrote:
>>
>> Hi, Cyrille,
>> I am not aware of this branch, but will try it out.
>>
>> Thanks for your quick response
>>
>> Wen
>>
>> On Fri, Nov 30, 2012 at 10:38 AM, Cyrille Rossant
>> <cyrille.rossant at gmail.com> wrote:
>>>
>>>
>>> 2012/11/30 W Gong <wen.g.gong at 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
>>>
>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>
>>
>>
>> --
>>
>> Thanks,
>>
>> - Wen
>>
>>
>>
>>
>
>
>
> --
>
> Thanks,
>
> - Wen
>
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu and ellisonbg at gmail.com



More information about the IPython-dev mailing list