Hi all,
I guess this bug is due to recent changes in svn
from pylab import plot, show, xlabel, ylabel, figure, semilogy,
savefig, scatter
File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line
1995, in ?
if Axes.pcolor_classic.__doc__ is not None:
AttributeError: class Axes has no attribute 'pcolor_classic'
Nils
Nils,
That is fixed now. I was sure I had removed it last night--I don't know how I fouled it up, but I certainly did. Thanks for the report.
Eric
Nils Wagner wrote:
···
Hi all,
I guess this bug is due to recent changes in svn
from pylab import plot, show, xlabel, ylabel, figure, semilogy,
savefig, scatter
File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line
1995, in ?
if Axes.pcolor_classic.__doc__ is not None:
AttributeError: class Axes has no attribute 'pcolor_classic'
Nils
Eric Firing wrote:
Nils,
That is fixed now. I was sure I had removed it last night--I don't
know how I fouled it up, but I certainly did. Thanks for the report.
Eric
Nils Wagner wrote:
Hi all,
I guess this bug is due to recent changes in svn
from pylab import plot, show, xlabel, ylabel, figure, semilogy,
savefig, scatter
File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line
1995, in ?
if Axes.pcolor_classic.__doc__ is not None:
AttributeError: class Axes has no attribute 'pcolor_classic'
Nils
Hi Eric,
Thank you very much. Here is another new problem
scatter(mu*ones(n),w.real,s=1)
File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line
3111, in scatter
ret = gca().scatter(*args, **kwargs)
File "/usr/lib64/python2.4/site-packages/matplotlib/axes.py", line
3329, in scatter
self.autoscale_view()
File "/usr/lib64/python2.4/site-packages/matplotlib/axes.py", line
991, in autoscale_view
XL = self.xaxis.get_major_locator().autoscale()
File "/usr/lib64/python2.4/site-packages/matplotlib/ticker.py", line
836, in autoscale
return take(self.bin_boundaries(dmin, dmax), [0,-1])
File
"/usr/lib64/python2.4/site-packages/numpy/oldnumeric/functions.py", line
16, in take
return N.take(a, indicies, axis)
File "/usr/lib64/python2.4/site-packages/numpy/core/fromnumeric.py",
line 51, in take
return take(indices, axis, out, mode)
IndexError: index out of range for array
mu
0.0
ones(n)
array([ 1., 1., 1.])
w
array([ 2.+0.j, -3.+0.j, 1.+0.j])
Cheers
Nils