The IPython Notebook consists of two related components: (1) An JSON based Notebook document format for recording and distributing Python code and rich text. (2) A web-based user interface for authoring and running notebook documents.
0
votes
1answer
12 views
iframe not rendering in ipython-notebook
The following iframe will not render in an ipython-notebook
from IPython.display import HTML
HTML('<iframe src=http://stackoverflow.com width=700 height=350></iframe>')
but, this one ...
0
votes
1answer
32 views
plotting a list of arrays with matplotlib
I have a list raws of arrays that I would like to plot in ipython notebook. Here is the code I am trying to get working:
fig, axes = subplots(len(raws),1, sharex=True, tight_layout=True, figsize=(12, ...
1
vote
1answer
16 views
iPython Notebook svg Figures by Default
I just started using ipython, and I'm creating figures such as:
fig, axes = plt.subplots()
xs = range(0,100)
axes.plot(xs, [x*x for x in xs], 'r')
I know that the figures can be rendered as svgs, ...
0
votes
2answers
17 views
ipython notebook pylab inline - matplotlib.pyplot - how to display plot with scrollbar?
I am using ipython notebook with pylab --inline
import matplotlib.pyplot as plt
import pandas as pd
......
plt.figsize(14,8)
ax1=plt.subplot(311)
#data is a pandas data frame with timeseries stock ...
1
vote
1answer
22 views
How to get LaTeX to work in IPython notebook?
I'm experimenting with IPython notebook. I can't get LaTeX to work:
$$ x + 3 $$
File "<ipython-input-1-0f8a1bc96d90>", line 1
$$ x + 3 $$
^
SyntaxError: invalid syntax
I'm using ...
1
vote
1answer
29 views
Is there an equivalent to CTRL+C in IPython Notebook in Firefox to break cells that are running?
I've started to use the IPython Notebook and am enjoying it. Sometimes, I write buggy code that takes massive memory requirements or has an infinite loop. I find the "interrupt kernel" option sluggish ...
0
votes
2answers
39 views
How to have a function return a figure in python (using matplotlib)?
Assume that I have some data, and I want to create a plot of this data by passing it to a custom plotting function (myplot()). I am using the matplotlib's modules in myplot().
I would like myplot() ...
3
votes
3answers
118 views
Scientific Reporting in Python
I am working on a scientific python project performing a bunch of computations generating a lot of data.
The problem comes when reports have to be generated from these data, with images embedded ...
0
votes
1answer
27 views
%Rpush >> lists of complex objects (e.g. pandas DataFrames in IPython Notebook)
Once again, I am having a great time with Notebook and the emerging rmagic infrastructure, but I have another question about the bridge between the two. Currently I am attempting to pass several ...
1
vote
1answer
24 views
Kernel Has Died - ipython
I m getting aquainted with ipython and now i become a strange error: Kernel Has Died
can anyone suggest a simple workflow to overtake this problem?
[IPKernelApp] --existing ...
-2
votes
3answers
76 views
Python GUI to show results of statistical analysis [closed]
I'm quite new to python. I want to build a GUI to show some figures and graphs for a statistical analysis result. I referred the list here
GUI Programing but could not figure out what to choose. I ...
3
votes
2answers
54 views
Is there a way to create interactive plots (a la D3) in IPython notebooks?
I found those two answers:
Animated graphs in ipython notebook ,
How to grab matplotlib plot as html in ipython notebook?
But they don't address interactivity. I would like to display a plot with 2-3 ...
0
votes
1answer
19 views
Number list in IPython Notebook Markdown render with Roman numerals instead of numbers
When I write
1. test 1
1. test 2
in a IPython Notebook markdown cell it renders as
I. test 1
II. test 2
instead of
1. test 1
2. test 2
Why and how can I change it?
Thanks in advance
Mads
0
votes
1answer
20 views
IPython Notebook: Save the currently running notebook as ipynb file using a pytho ncommand in a cell?
Is there are a way to save the Ipython notebook as an ipynb file from a cell within that notebook?
I know I can save it at any time by manually pressing "CTRL-M S", but I would like to use a command ...
1
vote
1answer
36 views
IPython Notebook: how to display() multiple objects without newline
Currently when I use display() function in the IPython notebook I get newlines inserted between objects:
>>> display('first line', 'second line')
first line
second line
But I would like ...