You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1
|
2
|
3
(3) |
4
(10) |
5
(1) |
6
(2) |
7
(3) |
8
(4) |
9
|
10
(7) |
11
(4) |
12
(1) |
13
(4) |
14
|
15
|
16
|
17
(1) |
18
(1) |
19
(4) |
20
(7) |
21
(1) |
22
(1) |
23
(5) |
24
(7) |
25
(8) |
26
(17) |
27
(5) |
28
|
29
(3) |
30
(10) |
31
(7) |
|
|
|
|
Travis, That sounds like a good solution, thanks. A change in either or both of contour.py and cntr.c will still be needed, because cntr.c is checking for Py_None. If you want to do it, fine; otherwise I can do it this evening or tomorrow morning. Eric Travis Oliphant wrote: > Eric Firing wrote: > >> >> I remember seeing some discussion of this, but I did not pay enough >> attention to it. If it turns out that returning False is a good idea >> in general, then I think it will be easy to modify the mpl code to >> handle that, and I don't mind doing it. Just let me know what the >> outcome is. > > > I've committed a change to matplotlib that should fix this. Basically, > the check is changed to "mask is not ma.nomask" (defined in numpy and > which I defined in the numerix.ma module for numarray and Numeric to be > None). > > I think this should fix the problem and be more future-proof. > > -Travis > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Eric Firing wrote: > > I remember seeing some discussion of this, but I did not pay enough > attention to it. If it turns out that returning False is a good idea > in general, then I think it will be easy to modify the mpl code to > handle that, and I don't mind doing it. Just let me know what the > outcome is. I've committed a change to matplotlib that should fix this. Basically, the check is changed to "mask is not ma.nomask" (defined in numpy and which I defined in the numerix.ma module for numarray and Numeric to be None). I think this should fix the problem and be more future-proof. -Travis
Travis Oliphant wrote: > Eric Firing wrote: > >> Darren, >> >> I just tried it with (numpy imported as n) >> In [23]:n.__version__ >> Out[23]:'0.9.4.1914' >> >> and I don't get the error. Are you using a newer version of numpy? > > > > This is a problem with masked arrays in the newer version of numpy. > Someone is doing a lot of work on masked arrays and probably not aware > of their use in matplotlib. Recently, for example, the return type for > no mask was changed from None to False (I'm not sure why...I'm asking > him right now). That is causing the problem because there is a check > for None in the matplotlib code (but not for False...). We'll get this > cleared up, thanks for the report... Travis, I remember seeing some discussion of this, but I did not pay enough attention to it. If it turns out that returning False is a good idea in general, then I think it will be easy to modify the mpl code to handle that, and I don't mind doing it. Just let me know what the outcome is. Eric
Eric Firing wrote: > Darren, > > I just tried it with (numpy imported as n) > In [23]:n.__version__ > Out[23]:'0.9.4.1914' > > and I don't get the error. Are you using a newer version of numpy? This is a problem with masked arrays in the newer version of numpy. Someone is doing a lot of work on masked arrays and probably not aware of their use in matplotlib. Recently, for example, the return type for no mask was changed from None to False (I'm not sure why...I'm asking him right now). That is causing the problem because there is a check for None in the matplotlib code (but not for False...). We'll get this cleared up, thanks for the report... -Travis
Darren, I just tried it with (numpy imported as n) In [23]:n.__version__ Out[23]:'0.9.4.1914' and I don't get the error. Are you using a newer version of numpy? Eric Darren Dale wrote: > I just updated this morning, and the following script fails: > > import pylab as pl > pl.plot(xrange(10), xrange(10)) > > > Here's the traceback: > > --------------------------------------------------------------------------- > exceptions.ValueError Traceback (most recent > call last) > > /home/darren/<ipython console> > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/pylab.py > in plot(*args, **kwargs) > 2077 def plot(*args, **kwargs): > 2078 # allow callers to override the hold state by passing hold=True| > False > -> 2079 b = ishold() > 2080 h = popd(kwargs, 'hold', None) > 2081 if h is not None: > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/pylab.py > in ishold() > 938 Return the hold status of the current axes > 939 """ > --> 940 return gca().ishold() > 941 > 942 def isinteractive(): > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/pylab.py > in gca(**kwargs) > 889 """ > 890 > --> 891 ax = gcf().gca(**kwargs) > 892 return ax > 893 > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/figure.py > in gca(self, **kwargs) > 613 ax = self._axstack() > 614 if ax is not None: return ax > --> 615 return self.add_subplot(111, **kwargs) > 616 > 617 def sca(self, a): > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/figure.py > in add_subplot(self, *args, **kwargs) > 463 a = PolarSubplot(self, *args, **kwargs) > 464 else: > --> 465 a = Subplot(self, *args, **kwargs) > 466 > 467 > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axes.py > in __init__(self, fig, *args, **kwargs) > 4094 def __init__(self, fig, *args, **kwargs): > 4095 SubplotBase.__init__(self, fig, *args) > -> 4096 Axes.__init__(self, fig, [self.figLeft, self.figBottom, > 4097 self.figW, self.figH], **kwargs) > 4098 > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axes.py > in __init__(self, fig, rect, axisbg, frameon, sharex, sharey, label, > **kwargs) > 329 > 330 # this call may differ for non-sep axes, eg polar > --> 331 self._init_axis() > 332 > 333 > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axes.py > in _init_axis(self) > 358 def _init_axis(self): > 359 "move this out of __init__ because non-separable axes don't > use it" > --> 360 self.xaxis = XAxis(self) > 361 self.yaxis = YAxis(self) > 362 > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py > in __init__(self, axes) > 499 self.minorTicks = [] > 500 > --> 501 self.cla() > 502 > 503 def cla(self): > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py > in cla(self) > 522 popall(self.minorTicks) > 523 > --> 524 self.majorTicks.extend([self._get_tick(major=True) for i in > range(1)]) > 525 self.minorTicks.extend([self._get_tick(major=False) for i in > range(1)]) > 526 > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py > in _get_tick(self, major) > 832 > 833 def _get_tick(self, major): > --> 834 return XTick(self.axes, 0, '', major=major) > 835 > 836 def _get_label(self): > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py > in __init__(self, axes, loc, label, size, gridOn, tick1On, tick2On, label1On, > label2On, major) > 98 > 99 > --> 100 self.tick1line = self._get_tick1line(loc) > 101 self.tick2line = self._get_tick2line(loc) > 102 self.gridline = self._get_gridline(loc) > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py > in _get_tick1line(self, loc) > 274 antialiased=False, > 275 marker = self._xtickmarkers[0], > --> 276 markersize=self._size, > 277 ) > 278 > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/lines.py > in __init__(self, xdata, ydata, linewidth, linestyle, color, marker, > markersize, markeredgewidth, markeredgecolor, markerfacecolor, antialiased, > dash_capstyle, solid_capstyle, dash_joinstyle, solid_joinstyle, **kwargs) > 209 self.verticalOffset = None > 210 > --> 211 self.set_data(xdata, ydata) > 212 > 213 if not self._lineStyles.has_key(linestyle): > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/lines.py > in set_data(self, *args) > 280 x = ma.masked_array(x, mask=mask).compressed() > 281 y = ma.masked_array(y, mask=mask).compressed() > --> 282 self._segments = unmasked_index_ranges(mask) > 283 else: > 284 self._segments = None > > /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/lines.py > in unmasked_index_ranges(mask, compressed) > 67 > 68 ''' > ---> 69 m = concatenate(((1,), mask, (1,))) > 70 indices = arange(len(mask) + 1) > 71 mdif = m[1:] - m[:-1] > > ValueError: arrays must have same number of dimensions > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>>>> "Darren" == Darren Dale <dd...@co...> writes: Darren> I just updated this morning, and the following script Darren> fails: import pylab as pl pl.plot(xrange(10), xrange(10)) I'm not seeing this with numpy, numarray or Numeric. My guess is that it is a numpy incompatibility. What version are you using? peds-pc311:~> python test.py --Numeric --verbose-helpful matplotlib data path /usr/lib/python2.4/site-packages/matplotlib/mpl-data $HOME=/home/jdhunter CONFIGDIR=/home/jdhunter/.matplotlib loaded rc file /home/jdhunter/.matplotlib/matplotlibrc matplotlib version 0.86.2cvs verbose.level helpful interactive is False platform is linux2 numerix Numeric 24.0b2 font search path ['/usr/lib/python2.4/site-packages/matplotlib/mpl-data'] loaded ttfcache file /home/jdhunter/.matplotlib/ttffont.cache backend TkAgg version 8.4 peds-pc311:~> python test.py --numarray --verbose-helpful matplotlib data path /usr/lib/python2.4/site-packages/matplotlib/mpl-data $HOME=/home/jdhunter CONFIGDIR=/home/jdhunter/.matplotlib loaded rc file /home/jdhunter/.matplotlib/matplotlibrc matplotlib version 0.86.2cvs verbose.level helpful interactive is False platform is linux2 numerix numarray 1.3.3 font search path ['/usr/lib/python2.4/site-packages/matplotlib/mpl-data'] loaded ttfcache file /home/jdhunter/.matplotlib/ttffont.cache backend TkAgg version 8.4 peds-pc311:~> python test.py --numpy --verbose-helpful matplotlib data path /usr/lib/python2.4/site-packages/matplotlib/mpl-data $HOME=/home/jdhunter CONFIGDIR=/home/jdhunter/.matplotlib loaded rc file /home/jdhunter/.matplotlib/matplotlibrc matplotlib version 0.86.2cvs verbose.level helpful interactive is False platform is linux2 numerix numpy 0.9.2 font search path ['/usr/lib/python2.4/site-packages/matplotlib/mpl-data'] loaded ttfcache file /home/jdhunter/.matplotlib/ttffont.cache backend TkAgg version 8.4 peds-pc311:~>
I just updated this morning, and the following script fails: import pylab as pl pl.plot(xrange(10), xrange(10)) Here's the traceback: --------------------------------------------------------------------------- exceptions.ValueError Traceback (most recent call last) /home/darren/<ipython console> /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/pylab.py in plot(*args, **kwargs) 2077 def plot(*args, **kwargs): 2078 # allow callers to override the hold state by passing hold=True| False -> 2079 b = ishold() 2080 h = popd(kwargs, 'hold', None) 2081 if h is not None: /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/pylab.py in ishold() 938 Return the hold status of the current axes 939 """ --> 940 return gca().ishold() 941 942 def isinteractive(): /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/pylab.py in gca(**kwargs) 889 """ 890 --> 891 ax = gcf().gca(**kwargs) 892 return ax 893 /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/figure.py in gca(self, **kwargs) 613 ax = self._axstack() 614 if ax is not None: return ax --> 615 return self.add_subplot(111, **kwargs) 616 617 def sca(self, a): /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/figure.py in add_subplot(self, *args, **kwargs) 463 a = PolarSubplot(self, *args, **kwargs) 464 else: --> 465 a = Subplot(self, *args, **kwargs) 466 467 /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axes.py in __init__(self, fig, *args, **kwargs) 4094 def __init__(self, fig, *args, **kwargs): 4095 SubplotBase.__init__(self, fig, *args) -> 4096 Axes.__init__(self, fig, [self.figLeft, self.figBottom, 4097 self.figW, self.figH], **kwargs) 4098 /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axes.py in __init__(self, fig, rect, axisbg, frameon, sharex, sharey, label, **kwargs) 329 330 # this call may differ for non-sep axes, eg polar --> 331 self._init_axis() 332 333 /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axes.py in _init_axis(self) 358 def _init_axis(self): 359 "move this out of __init__ because non-separable axes don't use it" --> 360 self.xaxis = XAxis(self) 361 self.yaxis = YAxis(self) 362 /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py in __init__(self, axes) 499 self.minorTicks = [] 500 --> 501 self.cla() 502 503 def cla(self): /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py in cla(self) 522 popall(self.minorTicks) 523 --> 524 self.majorTicks.extend([self._get_tick(major=True) for i in range(1)]) 525 self.minorTicks.extend([self._get_tick(major=False) for i in range(1)]) 526 /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py in _get_tick(self, major) 832 833 def _get_tick(self, major): --> 834 return XTick(self.axes, 0, '', major=major) 835 836 def _get_label(self): /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py in __init__(self, axes, loc, label, size, gridOn, tick1On, tick2On, label1On, label2On, major) 98 99 --> 100 self.tick1line = self._get_tick1line(loc) 101 self.tick2line = self._get_tick2line(loc) 102 self.gridline = self._get_gridline(loc) /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/axis.py in _get_tick1line(self, loc) 274 antialiased=False, 275 marker = self._xtickmarkers[0], --> 276 markersize=self._size, 277 ) 278 /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/lines.py in __init__(self, xdata, ydata, linewidth, linestyle, color, marker, markersize, markeredgewidth, markeredgecolor, markerfacecolor, antialiased, dash_capstyle, solid_capstyle, dash_joinstyle, solid_joinstyle, **kwargs) 209 self.verticalOffset = None 210 --> 211 self.set_data(xdata, ydata) 212 213 if not self._lineStyles.has_key(linestyle): /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/lines.py in set_data(self, *args) 280 x = ma.masked_array(x, mask=mask).compressed() 281 y = ma.masked_array(y, mask=mask).compressed() --> 282 self._segments = unmasked_index_ranges(mask) 283 else: 284 self._segments = None /usr/lib64/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-linux-x86_64.egg/matplotlib/lines.py in unmasked_index_ranges(mask, compressed) 67 68 ''' ---> 69 m = concatenate(((1,), mask, (1,))) 70 indices = arange(len(mask) + 1) 71 mdif = m[1:] - m[:-1] ValueError: arrays must have same number of dimensions