[IPython-User] matplotlib and Ipython notebook : figsize not recognized in standard python/ipython

Massimo Di Stefano massimodisasha@gmail....
Mon Apr 2 12:04:54 CDT 2012


Hi All,

a simple question … i'm using the Ipython notebook for my daily work, i'm pretty happy with it.
From the notebook i can define a matplotlib figure as follow :

import matplotlib.pyplot as plt
fig = plt.figure(figsize(10,8))


but if i include thi line in a scrip and try to execute it from inside the notebook or from a python/ipython shell i got the error :

name 'figsize' is not defined

can you help me to fix this issue ?

Thanks!

--Massimo.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120402/97998a4a/attachment.html 


More information about the IPython-User mailing list