r/IPython • u/lcota • Jun 16 '16
How to build an interactive dashboard?
Do any packages exist allowing a dashboard with greater layout flexibility than the notebook allows?
r/IPython • u/lcota • Jun 16 '16
Do any packages exist allowing a dashboard with greater layout flexibility than the notebook allows?
r/IPython • u/LbaB • May 17 '16
I use Jupyter Notebook for research, and often have a kernel running for days. The actual python kernel can get quite large (memory-usage-wise), based on the data I have loaded. But the real problem is Jupyter Notebook task. After about a week of running, it will often be taking up 2Gb of memory and must be restarted to free it up. From reading around the internet, there was an early ticket in the Ipython project about output caching so I've tried setting cache limits with the following:
c.InteractiveShell.cache_size = 10*1024*1024 # MBs
c.NotebookNotary.cache_size = 256But this has no effect. Has anyone else run across this problem? Any suggestions?
r/IPython • u/NomadNella • Apr 20 '16
r/IPython • u/YuntiMcGunti • Mar 11 '16
I currently use onenote to take programming notes. It's great for notes but not great for dealing with code. I'm thinking of transferring to using Jupyter.
However can it deal with pages (and ideally subpages) to index the contents, rather than one long continous page? Something like http://imgur.com/SpbLkIW
r/IPython • u/oscar6echo • Jan 31 '16
With very much the same approach as for ezhc (previous post), here is a wrapper for vis.js/Graph3d, in my view the best 3d js lib for 3d plotting. Here too the access to the underlying library is transparent. This is not a layer with its own syntax and constraints.
The best is to check out the github repo: https://github.com/oscar6echo/ezvis3d and the demo notebooks: http://nbviewer.jupyter.org/github/oscar6echo/ezvis3d/blob/master/demo_ezvisd3.ipynb http://nbviewer.jupyter.org/github/oscar6echo/ezvis3d/blob/master/BlackScholesViewer.ipynb
r/IPython • u/nmiculinic • Jan 01 '16
I have code which dynamically generates new data points as time progresses. It takes for computing those data points and I would like to refresh the matplotlib plot dynamically in ipython notebook.. Following code best describes my attempt is achieving this functionality. The repository contains all necessary classes need for proper functioning.
Furthermore I'd appreciate general advice how to better make my visualizations, since matplotlib looks awkward in this example. Legend is placed over the plot and I'm unable to make plot larger.
r/IPython • u/jarryboi • Dec 01 '15
Hi All,
I am working on jupyter notebook plugin that allows users to search for code snippets with a library and function name, it then returns the function signature (which includes a link to the documentation) and an example code snippet (from Stack Overflow), see the screenshot below for the example.
It’s not quite ready yet, but I would love to hear your thoughts before I release the alpha version!
r/IPython • u/Tieskeman • Sep 18 '15
r/IPython • u/NomadNella • Sep 18 '15
If you haven't already made the switch by installing from the source, and you want to install Python 3.5 system wide, you can use the following steps to upgrade to Python using the fkrull/deadsnakes ppa.
Open a terminal window.
install Personal Package Archive: ppa:fkrull/deadsnakes
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
install the following packages:
sudo apt-get install python3.5
sudo apt-get install python3.5-dev
sudo apt-get install libncurses5-dev
change python3 link to point to python3.5 instead of python3.4 (/usr/bin/)
sudo mv /usr/bin/python3 /usr/bin/python3-old
sudo ln -s /usr/bin/python3.5 /usr/bin/python3
install pip from https://pip.pypa.io/en/stable/installing/
sudo python3 get-pip.py
install the following with pip3:
sudo pip3 install setuptools --upgrade
sudo pip3 install ipython[all]
change the python3 link back
sudo rm /usr/bin/python3
sudo mv /usr/bin/python3-old /usr/bin/python3
create python3.5 kernel
cp -R ~/.ipython/kernels/python3 ~/.ipython/kernels/python3.5
sed -i -- 's/3/3.5/g' ~/.ipython/kernels/python3.5/kernel.json
After your done you can check by creating a Python 3.5 kernel Notebook and entering the following:
import sys
sys.version_infoYou should get the following response.
sys.version_info(major=3, minor=5, micro=0, releaselevel='final', serial=0)*Edit: Reverted the default python3 to python3.4 but created a python3.5 kernel entry for the notebook. The reason for this is that changing the default python3 to python3.5 broke the apt-get updating process.
r/IPython • u/sudo_O • Sep 16 '15
r/IPython • u/opvgreen • Sep 15 '15
The computers at my school are locked down so I use a USB-based portable IPython. Does anyone know if a portable MATLAB kernel exists?
The MATLAB kernel found here: https://github.com/calysto/matlab_kernel requires pip or setup.py to install. Is there a way to install this on to a USB?
Thanks for any advice.
r/IPython • u/throwpillo • Jul 26 '15
(By graph, I mean nodes-and-edges.)
Here's some things I've found. Looking for other libraries and others' recommendations.
r/IPython • u/takluyver • Nov 30 '14
r/IPython • u/westurner • Oct 30 '14
r/IPython • u/stahlous • Sep 06 '14
r/IPython • u/L43 • May 15 '14
r/IPython • u/NomadNella • Mar 17 '14
r/IPython • u/mathandpython • Mar 14 '14
r/IPython • u/mathandpython • Mar 06 '14
r/IPython • u/NomadNella • Feb 04 '14
r/IPython • u/NomadNella • Jan 13 '14
r/IPython • u/NomadNella • Dec 02 '13
r/IPython • u/NomadNella • Nov 29 '13