Re: [Matplotlib-users] TypeError: unsupported operand type(s) for +: 'NoneType' and 'float' on 1.2.1

2013-11-18 Thread Gregorio Bastardo
Hi, I experienced similar error under python 2.7.5 win32 after dirty-upgrading from mpl 1.2.1 to 1.3.1 (w/o first removing the old version). A clean install solved the problem. Cheers, Gregorio -- DreamFactory - Open

Re: [Matplotlib-users] numpy masked array plot - isolated single unmasked value is hidden

2013-07-19 Thread Gregorio Bastardo
@Eric: thanks, i see the point @Jody: thanks for the trick, I'll first try Eric's approach 2013/7/18 Eric Firing efir...@hawaii.edu: On 2013/07/17 11:25 PM, Gregorio Bastardo wrote: Thanks Mike, it's hard to spot, but still better than nothing. Anyway, could it be the default behaviour

Re: [Matplotlib-users] numpy masked array plot - isolated single unmasked value is hidden

2013-07-18 Thread Gregorio Bastardo
need at least two points for a line segment. Mike On 07/17/2013 10:45 AM, Gregorio Bastardo wrote: Hi, The following example demonstrates the problem, value 5 could not be seen w/o marker: data = np.arange(10) mask = [0,0,0,1,1,0,1,0,0,0] x = np.ma.masked_array(data, mask) plot(x

[Matplotlib-users] numpy masked array plot - isolated single unmasked value is hidden

2013-07-17 Thread Gregorio Bastardo
Hi, The following example demonstrates the problem, value 5 could not be seen w/o marker: data = np.arange(10) mask = [0,0,0,1,1,0,1,0,0,0] x = np.ma.masked_array(data, mask) plot(x) plot(x, '+') In my datasets, isolated unmasked values are rare, but placing a marker to spot them makes the

[Matplotlib-users] constrained rectangular zoom does not always work with Qt4 backend

2013-05-22 Thread Gregorio Bastardo
Hi, I have problems with constrained rectangular zoom to x-y axis with PyQt4 / PySide backend. When I use the Zoom-to-rectangle button of the navigation toolbar while holding the x or y key, sometimes nothing happens when the mouse is released. Constrained panning and pan-zooming (Pan/Zoom

Re: [Matplotlib-users] legend marker update problem

2013-05-21 Thread Gregorio Bastardo
, but not always), so I would recommend it. -Sterling On May 17, 2013, at 2:10AM, Gregorio Bastardo wrote: Hi Sterling, Thanks for the hint, using line._legmarker attribute solved the problem. I see the reason behind, however I still consider this as an incorrect behaviour, since marker

Re: [Matplotlib-users] legend marker update problem

2013-05-17 Thread Gregorio Bastardo
Hi Sterling, Thanks for the hint, using line._legmarker attribute solved the problem. I see the reason behind, however I still consider this as an incorrect behaviour, since marker toggling works in case the line is originally added to the legend without marker (so legend line and marker do not

[Matplotlib-users] legend marker update problem

2013-05-16 Thread Gregorio Bastardo
Hi, I've recently come accross an issue when working on an interactive marker toggling callback. The problem is illustrated below: import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) line, = ax.plot(range(10), range(10)) # uncomment next line to reproduce bug #