[IPython-User] matplotlib and Ipython notebook : figsize not recognized in standard python/ipython
Massimo Di Stefano
Mon Apr 2 12:04:54 CDT 2012
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User