How do I add python3 kernel to jupyter (IPython)

My Jupyter notebooks installed with python 2 kernel. I do not understand why. I might have messed something up when I did the install. I already have python 3 installed. How can I add it to Jupyter? Here’s a screenshot of what the default Jupyter insalled with python3 -m install jupyter and opened in the … Read more

How to make inline plots in Jupyter Notebook larger? [duplicate]

This question already has answers here: How do I change the size of figures drawn with Matplotlib? (25 answers) Closed 6 months ago. I have made my plots inline on my Ipython Notebook with “%matplotlib inline.” Now, the plot appears. However, it is very small. Is there a way to make it appear larger using … Read more

How do I increase the cell width of the Jupyter/ipython notebook in my browser?

I would like to increase the width of the ipython notebook in my browser. I have a high-resolution screen, and I would like to expand the cell width/size to make use of this extra space. Thanks! EDIT / ANSWER : 5/2017 I now use jupyterthemes: https://github.com/dunovank/jupyter-themes and this command: jt -t oceans16 -f roboto -fs … Read more

Using IPython / Jupyter Notebooks Under Version Control

What is a good strategy for keeping IPython notebooks under version control? The notebook format is quite amenable for version control: if one wants to version control the notebook and the outputs then this works quite well. The annoyance comes when one wants only to version control the input, excluding the cell outputs (aka. “build … Read more

Purpose of “%matplotlib inline”

What exactly is the use of %matplotlib inline? 10 s 10 %matplotlib is a magic function in IPython. I’ll quote the relevant documentation here for you to read for convenience: IPython has a set of predefined ‘magic functions’ that you can call with a command line style syntax. There are two kinds of magics, line-oriented … Read more

How to make IPython notebook matplotlib plot inline

I am trying to use IPython notebook on MacOS X with Python 2.7.2 and IPython 1.1.0. I cannot get matplotlib graphics to show up inline. import matplotlib import numpy as np import matplotlib.pyplot as plt %matplotlib inline I have also tried %pylab inline and the ipython command line arguments –pylab=inline but this makes no difference. … Read more