Questions tagged [jupyter-notebook]

The Jupyter Notebook is a web application that provides a frontend to many different languages and interactive shells such as IPython. Jupyter Notebook, unlike its predecessor IPython Notebook, supports many different languages and interactive shells in addition to Python and IPython.

Jupyter Notebook is a web application based on . It provides a frontend to many different languages and interactive shells.

Jupyter Notebook supports more than 40 different languages including , , and .

Each Jupyter Notebook document may contain executable code blocks, outputs, and Markdown text.

Jupyter Notebook is the successor to , which was part of the project. However, Jupyter and IPython are separate projects as of IPython 4.0.

More information:

16726 questions
882
votes
10 answers

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…
Ian Fiske
  • 9,752
  • 3
  • 18
  • 18
662
votes
10 answers

Purpose of "%matplotlib inline"

Could someone explain to me what exactly is the use of %matplotlib inline?
Rishabh
  • 6,837
  • 4
  • 8
  • 6
589
votes
22 answers

Using IPython 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…
mforbes
  • 6,472
  • 3
  • 13
  • 17
459
votes
22 answers

Conda environments not showing up in Jupyter Notebook

I installed Anaconda (with Python 2.7), and installed Tensorflow in an environment called tensorflow. I can import Tensorflow successfully in that environment. The problem is that Jupyter Notebook does not recognize the new environment I just…
user31039
  • 5,109
  • 3
  • 12
  • 9
423
votes
12 answers

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: 5/2017 I now use jupyterthemes:…
vgoklani
  • 8,218
  • 11
  • 52
  • 81
408
votes
31 answers

How to change the Jupyter start-up folder

I tried following the instructions given on the Jupyter Notebook documentation. Unfortunately, I haven't been able to figure it out. Where exactly is this "start in" field? I've a windows 7 (64 bit) system, with Anaconda3 installed (not in C drive).…
kchak
  • 5,880
  • 4
  • 13
  • 22
379
votes
15 answers

How to embed image or picture in jupyter notebook, either from a local machine or from a web resource?

I would like to include image in a jupyter notebook. If I did the following, it works : from IPython.display import Image Image("img/picture.png") But I would like to include the images in a markdown cell and the following code gives a 404 error…
Ger
  • 6,892
  • 8
  • 31
  • 44
339
votes
24 answers

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…
quickbug
  • 4,124
  • 4
  • 14
  • 19
330
votes
10 answers

How to make inline plots in Jupyter Notebook larger?

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 either notebook settings or plot settings?
Chris
  • 21,703
  • 21
  • 59
  • 114
313
votes
14 answers

How to write LaTeX in IPython Notebook?

How can I display LaTeX code in a IPython Notebook?
KostasA
  • 4,174
  • 5
  • 17
  • 26
310
votes
18 answers

How do I block comment in Jupyter notebook?

I want to comment out a block of multiple lines in Jupyter Notebook, but can't find out how to do that in this current version. It used to be in one of the drop down menus but is no longer there. How do you comment out multi-line blocks of code at…
chrisfs
  • 5,513
  • 6
  • 27
  • 35
309
votes
13 answers

Change the Theme in Jupyter Notebook?

I like dark themes. However, the default theme of Jupyter notebooks is light, and I can't find the option to change the theme/background-color. How is this done?
Moby Khan
  • 3,189
  • 3
  • 9
  • 13
282
votes
7 answers

Show DataFrame as table in iPython Notebook

I am using iPython notebook. When I do this: df I get a beautiful table with cells. However, if i do this: df1 df2 it doesn't print the first beautiful table. If I try this: print df1 print df2 It prints out the table in a different format…
Chris
  • 9,530
  • 8
  • 34
  • 58
275
votes
13 answers

In which conda environment is Jupyter executing?

I have jupyter/anaconda/python3.5. How can I know which conda environment is my jupyter notebook running on? How can I launch jupyter from a new conda environment?
RockScience
  • 15,586
  • 22
  • 74
  • 117
267
votes
13 answers

Inserting image into IPython notebook markdown

I am starting to depend heavily on the IPython notebook app to develop and document algorithms. It is awesome; but there is something that seems like it should be possible, but I can't figure out how to do it: I would like to insert a local image…
benpro
  • 3,517
  • 4
  • 17
  • 17
1
2 3
99 100