5
votes
1answer
171 views

Avoid antialising of R plots in iPython Notebook

In iPython Notebook (with rmagic extension) the plots don't look crisp. They are antialised. I have tried different combinations of width and height for example %R -w 600 -h 400 plot(1) without ...
2
votes
1answer
209 views

Ipython raw_input work around?

I'm running a Python program that wants to accept raw_input which Ipython notebook does not do. (a known limitation) What is a recommended way to achieve the functionality? (work around?) What I'd ...
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
58 views

Accessing IPython command line from node.js and websockets

How would I go about creating a web app using node.js (Express.js) that can access the python or ipython REPL command line? Essentially I would like to have something like the IPython Notebook, but ...
0
votes
1answer
137 views

Run some tasks in IPython Notebook in detached mode

Is it possible to run some long tasks in IPython Notebook, close browser and then after some time open it again and reveal results of these tasks? Say, task like this: def f(): import time ...
2
votes
0answers
42 views

Interactive plotting in matplotlib puzzle

I'm looking at an example for interactive plotting with matplotlib (which i found here) I've just modified it to be called inside a function (called test) like so class PointBrowser: def ...
1
vote
0answers
72 views

ipython notebook as a simple webapp?

I'm interested in whether there's a good way to start the evaluation of a ipython notebook, run it in background, and have a user log in to that specific notebook only when user input is needed (i.e., ...
1
vote
0answers
98 views

Starting an IPython cluster from the notebook with a delay

Our SGE cluster setup requires there to be a delay between controller and engines starting. If this delay is not there, some of the servers use "old" ipcontroller-client.json files and attempt to ...
0
votes
0answers
36 views

How to run a script when a notebook is loaded

I am writing a set of notebooks that has some common start up script. I want to put this startup script(a somefile.py file) in the notebook folder, and when the notebook's kernel is started(or ...
0
votes
0answers
50 views

Error When Importing rpy2 in iPython Notebook (it works when working with iPython in the terminal)

The problem is as follows: "import rpy2" works fine if I use iPython in the terminal, or in its Qt-based GUI. When I use iPython notebook, however, I get the following error: "ImportError: No module ...
0
votes
0answers
36 views

Define an empty ITK image with ipython

I'm trying to define an empty ITK image of a certain 3D size on iPython notebook and I'm stuck at defining the so called: 'itkIndex3' index I've already loaded all python bindings for itk and vtk, ...
0
votes
0answers
34 views

Keep cells or magic functions from saving to python script

Is it possible to turn off magic functions or arbitrary cell blocks when saving ipython notebook to script? I use the mode where saving the .ipynb file automatically saves to .py as well, but the ...
0
votes
0answers
62 views

Parsing Apache log file into ipython notebook

I'm very new to iPython and doing some experiments with the following post. http://nbviewer.ipython.org/urls/github.com/koldunovn/nk_public_notebooks/raw/master/Apache_log.ipynb In [10]: Parsing ...
0
votes
0answers
61 views

Headless VPython, Matplotlib

Is it possible to take jpg, png images out of VPython at regular intervals and turn off its display, basically running it in headless mode? I need this so I can use it in an iPython Notebook - ...
0
votes
0answers
136 views

Cannot use/import MySQLdb in ipython notebook (works well in ipython qtconsole)

After great trouble with installing MySQLdb (due to incompatibility between 32-bit and 64-bit architectures) I have now run into another curious problem for which I cannot find the solution on the ...

1 2
15 30 50 per page