I have an ipython notebook I'd like to share with colleagues who may not have ipython installed.  So I converted it to html with :  ipython nbconvert my_notebook.ipynb   But my problem is that I have very long outputs which make the reading diffi...
(There is a similar question here, but it is about using python code to read markdown cells. I want to use JavaScript (for example in a Jupyter Notebook front end extension) to read the source code in code cells.)  I want to perform an analysis on th...
So in an IPython Jupyter notebook one can add JavaScript functions via the %% javascript magic cell syntax or via the Python kernel with IPython.display.HTML and one can alter Python variables in JS with IPython.notebook.kernel.execute.  However, the...
Using Jupyter notebook, how to have one slider interactively update two independent functions in two figures? There is a link to a similar question without answer here.  Using Bokeh Javascript Callback slider power example, I tried adding a second se...
I try to write a custom extension for the Jupyter Notebook, as described here: https://towardsdatascience.com/how-to-write-a-jupyter-notebook-extension-a63f9578a38c  I use the Chrome developer tools on Windows7 to inspect and edit the Javascript sour...
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) ...
I have a website that performs file format conversions, and this service can be used by other websites via the window.postMessage system. It would be great if one could do this also via a Jupyter notebook. I run however into a serious issue. I can ge...
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"); //...
Often I realize halfway through a notebook that I forgot an import and I want to move it to the top of the notebook (where I try to keep most of my imports). Is there a way to add a keyboard shortcut to ~/.jupyter/custom/custom.js that moves a cell t...
A nice thing about Bokeh is that callbacks can be specified from the Python layer that result actions on the javascript level without the need of bokeh-server.  So one can create interactive widgets that run in a  browser without an Ipython or Bokeh...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.