I'm currently trying to get interactive plots working with IPython notebook. One of the issues I'm having is the fact that when executing Python code through the IPython.notebook.kernel.execute method in javascript I have no way of knowing wh...
I am having trouble understanding the namespace of the Javascript function that is provided in IPython.  from IPython.core.display import display, Javascript display(Javascript(u""" var variable = 'Hello' console.log(variable) ...
As a part of a project, I need to embedd some javascripts inside an IPython module. This is what I want to do:  from IPython.display import display,Javascript Javascript('echo("sdfds");',lib='/home/student/Gl.js')   My Gl.js l...
I am trying to add cdn hosted d3.js to my Ipython notebook like this     But when I load the notebook first time I get "Javascript error adding output", but if I run cell again it works properly. Am I doing something wrong? Thanks in advance....
I'm writing the library which has to embed javascript code to IPython notebook and execute it. The HTML/JS code looks like:  <div id="unique_id"></div> <script> var div = document.getElementById("unique_id"); //...
I'm creating a Django tutorial in an IPython Notebook and I want to use the %save magic to save .py files  to create / edit / advance a website as the tutorial progresses. The problem is the %save magic works by specifying which lines to save. Un...
Is there a shell for Javascript coding/experimenting using command line offering history, completion, help, debug, etc.? I found iPython very useful for quick Python scripting.  I looked at various shells like node, Rhino, JSDB, but their command lin...
I am trying to execute python code through javascript directly:   I fire up IPython Notebook on Chrome Using chrome developer tools I open up the javascript console.   In the javascript consolde, I type: IPython.notebook.kernel.execute("2+2")...
I have a notebook cell containing JavaScript code, and I would like the code to select this particular cell. Unfortunately, the behavior of get_selected_cell depends on whether I execute the cell in place, or execute and select the cell below.  Examp...
Say that there is a ipywidget created in IPython notebook, like so:  from ipywidgets import widgets i = widgets.IntText()   Is there a way to set the value from Javascript? I suspect that I'll need to know some comm id of the widget. Or is there...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.