[IPython-User] matplotlib demo - unreadable json

Fernando Perez fperez.net@gmail....
Fri Apr 13 15:42:35 CDT 2012


On Fri, Apr 13, 2012 at 5:50 AM, Neal Becker <ndbecker2@gmail.com> wrote:
> I tried to follow the mpl tutuorial:
>
> http://marakana.com/s/advanced_matplotlib_tutorial_with_library_author_john_hunter,1133/index.html#c132880
>
> I did:
> wget http://bit.ly/Ancxno
> unzip ...
>
> Then
>  ipython notebook --pylab=inlib

You should type 'inline', not 'inlib'.

> [NotebookApp] Using existing profile dir:
> u'/home/nbecker/.config/ipython/profile_default'
> [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888
> [NotebookApp] Use Control-C to stop this server and shut down all kernels.
> [NotebookApp] Using local MathJax
> WARNING:root:500 GET /notebooks/790bb9a3-5794-4e80-
> b490-5fda461fcacb?_=1334321151178 (127.0.0.1): Unreadable JSON notebook.

You are most likely using the 0.12 notebook. That zip file has
notebooks in format version 2 and version 3, but IPython 0.12 only
understand v2 notebooks.  Simply ignore the files that don't have 'v2'
in their name, and use the 'v2' files.

Cheers,

f


More information about the IPython-User mailing list