r/IPython • • Jun 16 '16

How to build an interactive dashboard?

7 Upvotes

Do any packages exist allowing a dashboard with greater layout flexibility than the notebook allows?


r/IPython • • May 17 '16

Jupyter notebook memory footprint

7 Upvotes

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 = 256

But this has no effect. Has anyone else run across this problem? Any suggestions?


r/IPython • • Apr 20 '16

[IPython-dev] [ANN] IPython 4.2 Released

Thumbnail mail.scipy.org
7 Upvotes

r/IPython • • Mar 11 '16

Jupyter notebook pages and indexes?

7 Upvotes

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 • • Feb 16 '16

JupyterDays Boston 2016

Thumbnail
blog.jupyter.org
7 Upvotes

r/IPython • • Jan 31 '16

ezvis3d: vis.js/Graph3d js lib wrapped for easy use directly from pandas dataframes

7 Upvotes

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 • • Jan 01 '16

How to have dynamically updating plot in IPython notebook?

7 Upvotes

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 • • Dec 01 '15

Jupyter notebook plugin that allows you to search for code snippets

7 Upvotes

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.

Plugin Screenshot

It’s not quite ready yet, but I would love to hear your thoughts before I release the alpha version!


r/IPython • • Sep 18 '15

IPyStata: statistical analysis with Python (Pandas) and Stata using Jupyter Notebooks.

Thumbnail
github.com
7 Upvotes

r/IPython • • Sep 18 '15

Using Python3.5 in Ubuntu - Trusty

7 Upvotes

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/

  • 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_info

You 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 • • Sep 16 '15

Render sparkline style charts in pandas dataframes

Thumbnail
github.com
7 Upvotes

r/IPython • • Sep 15 '15

Portable MATLAB kernel? Prof requires MATLAB use, but I want to continue using Jupyter

7 Upvotes

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 • • Jul 26 '15

interactive graph visualization in ipython. what libraries have worked well for you?

7 Upvotes

(By graph, I mean nodes-and-edges.)

Here's some things I've found. Looking for other libraries and others' recommendations.

http://patrick-fuller.com/igraph/examples/ipython.html

https://github.com/tkf/ipython-hierarchymagic


r/IPython • • Nov 30 '14

Tabipy - construct HTML/Latex tables in IPython

Thumbnail nbviewer.ipython.org
7 Upvotes

r/IPython • • Oct 30 '14

Official jupyter Docker hub repos: demo, nature-demo, tmpnb, jupyterhub, single user, configurable-http-proxy, nbcache, nbindex, colaboratory

Thumbnail
registry.hub.docker.com
7 Upvotes

r/IPython • • Sep 06 '14

Can someone explain what exactly is the deal with Jupyter?

7 Upvotes

r/IPython • • May 15 '14

HTML based progress bars, the result of a few hours of playing with the notebook's HTML and Javascript integration.

Thumbnail
github.com
7 Upvotes

r/IPython • • Mar 17 '14

Frequentism and Bayesianism: A Practical Introduction

Thumbnail jakevdp.github.io
7 Upvotes

r/IPython • • Mar 14 '14

Domain Coloring. A Method of Visualization of Complex Functions

Thumbnail nbviewer.ipython.org
7 Upvotes

r/IPython • • Mar 06 '14

Google Trends in an IPython Notebook

Thumbnail nbviewer.ipython.org
7 Upvotes

r/IPython • • Feb 04 '14

Documentation, Testing, and Packaging - Jake Vanderplas

Thumbnail nbviewer.ipython.org
7 Upvotes

r/IPython • • Jan 13 '14

My IPython-powered semi-automatic git workflow - Damian Avila

Thumbnail damian.oquanta.info
7 Upvotes

r/IPython • • Dec 02 '13

Kernel Density Estimation in Python

Thumbnail jakevdp.github.io
7 Upvotes

r/IPython • • Nov 29 '13

Notable features of Python (James Powell)

Thumbnail nbviewer.ipython.org
7 Upvotes