[IPython-dev] interactive widgets with d3 and three.js
Fri Oct 19 03:14:15 CDT 2012
> BUT, we should warn you that we are going to eliminate the ability to
> run Python generated JS in the notebook. There are two reasons for
> * Security. The current approach opens the door for some really nasty
> (and trivial) attacks that we can't allow.
> * Ease of development. As you will find, writing Python code that
> writes JS code that is run in the browser using eval is nearly
> impossible to actually get anything done. I wrote all of this code
> and I still can't do it for anything other than something trivial.
> eval makes debugging impossible and getting data from Python to JS in
> this manner is horribly painful.
Did you had a look at iframe ?
I'm a little low on bandwidth, but it's still on my todo list,
If you think it is not possible, I won't try.
I did try d3 once, and came across a bug from time to time, making the d3 command updating the DOM but not the html view on chrome when runned through IPython (my guess is a running condition with jQuery)…
Just to tell you that if you don't see anything it might not be your fault.
More information about the IPython-dev