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
Thanks,
Wen
[IPython-dev] try jsplugins d3graph
| Tweet |
|
Search Discussions
-
Cyrille Rossant at Nov 30, 2012 at 3:38 pm ⇧
2012/11/30 W Gong <wen...@...com>Hi,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
Are you using this branch for IPython?
https://github.com/ellisonbg/ipython/tree/jsonhandlers
Cyrille
-
W Gong at Nov 30, 2012 at 4:58 pm ⇧
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,
WenOn Fri, Nov 30, 2012 at 10:50 AM, W Gong 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 <
cyr...@...com> wrote:2012/11/30 W Gong <wen...@...com>Hi,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
Are you using this branch for IPython?
https://github.com/ellisonbg/ipython/tree/jsonhandlers
Cyrille
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Thanks,
- Wen
--
Thanks,
- Wen -
Brian Granger at Nov 30, 2012 at 5:10 pm ⇧
I think there is a problem with the pytutor one right now, as Fernando
ran into something similar. PRs welcome :)
BrianOn Fri, Nov 30, 2012 at 8:58 AM, W Gong 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,
WenOn Fri, Nov 30, 2012 at 10:50 AM, W Gong 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
wrote:
2012/11/30 W Gong <wen...@...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
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Thanks,
- Wen
--
Thanks,
- Wen
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgr...@...edu and ell...@...com
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev -
W Gong at Nov 30, 2012 at 6:59 pm ⇧
Brian
from pytutor.js, I see the following commented out:
/* To import, put this at the top of your HTML page:
<!-- requirements for pytutor.js -->
<script type="text/javascript" src="js/d3.v2.min.js"></script>
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/jquery.ba-bbq.min.js"></script> <!--
for handling back button and URL hashes -->
<script type="text/javascript" src="js/jquery.jsPlumb-1.3.10-all-min.js
"></script> <!-- for rendering SVG connectors
DO NOT UPGRADE ABOVE 1.3.10 OR ELSE BREAKAGE WILL OCCUR -->
<script type="text/javascript"
src="js/jquery-ui-1.8.24.custom.min.js"></script> <!-- for sliders and
other UI elements -->
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.24.custom.css"
rel="stylesheet" />
<!-- for annotation bubbles -->
<script type="text/javascript" src="js/jquery.qtip.min.js"></script>
<link type="text/css" href="css/jquery.qtip.css" rel="stylesheet" />
<script type="text/javascript" src="js/pytutor.js"></script>
<link rel="stylesheet" href="css/pytutor.css"/>
*/
I don't see
jquery.ba-bbq.min.js
jquery-ui-1.8.24.custom.min.js
jquery.qtip.min.js
are loaded anyway
WenOn Fri, Nov 30, 2012 at 12:10 PM, Brian Granger wrote:
I think there is a problem with the pytutor one right now, as Fernando
ran into something similar. PRs welcome :)
BrianOn Fri, Nov 30, 2012 at 8:58 AM, W Gong 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,
WenOn Fri, Nov 30, 2012 at 10:50 AM, W Gong 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
wrote:
2012/11/30 W Gong <wen...@...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
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Thanks,
- Wen
--
Thanks,
- Wen
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgr...@...edu and ell...@...com
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Thanks,
- Wen -
Brian Granger at Nov 30, 2012 at 7:56 pm ⇧
Thanks,
I will have a look at this when I get back to working on the plugin stuff.
BrianOn Fri, Nov 30, 2012 at 10:59 AM, W Gong wrote:
Brian
from pytutor.js, I see the following commented out:
/* To import, put this at the top of your HTML page:
<!-- requirements for pytutor.js -->
<script type="text/javascript" src="js/d3.v2.min.js"></script>
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/jquery.ba-bbq.min.js"></script> <!--
for handling back button and URL hashes -->
<script type="text/javascript" src="js/jquery.jsPlumb-1.3.10-all-min.js
"></script> <!-- for rendering SVG connectors
DO NOT UPGRADE ABOVE 1.3.10 OR ELSE BREAKAGE WILL OCCUR -->
<script type="text/javascript"
src="js/jquery-ui-1.8.24.custom.min.js"></script> <!-- for sliders and other
UI elements -->
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.24.custom.css"
rel="stylesheet" />
<!-- for annotation bubbles -->
<script type="text/javascript" src="js/jquery.qtip.min.js"></script>
<link type="text/css" href="css/jquery.qtip.css" rel="stylesheet" />
<script type="text/javascript" src="js/pytutor.js"></script>
<link rel="stylesheet" href="css/pytutor.css"/>
*/
I don't see
jquery.ba-bbq.min.js
jquery-ui-1.8.24.custom.min.js
jquery.qtip.min.js
are loaded anyway
WenOn Fri, Nov 30, 2012 at 12:10 PM, Brian Granger wrote:
I think there is a problem with the pytutor one right now, as Fernando
ran into something similar. PRs welcome :)
BrianOn Fri, Nov 30, 2012 at 8:58 AM, W Gong 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,
WenOn Fri, Nov 30, 2012 at 10:50 AM, W Gong 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
wrote:
2012/11/30 W Gong <wen...@...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
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Thanks,
- Wen
--
Thanks,
- Wen
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgr...@...edu and ell...@...com
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Thanks,
- Wen
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgr...@...edu and ell...@...com
_______________________________________________
IPython-dev mailing list
ipy...@...org
http://mail.scipy.org/mailman/listinfo/ipython-dev
Related Discussions
Discussion Navigation
| view | thread | post |
Discussion Overview
| group | ipython-dev |
| posted | Nov 30, '12 at 3:29p |
| active | Nov 30, '12 at 7:56p |
| posts | 6 |
| users | 3 |
