Re: [Matplotlib-users] bug with bar graph when plotting zero values?

2012-09-27 Thread Benjamin Root
On Thursday, September 27, 2012, Pierre Haessig wrote: > Hi Paul, > > Le 26/09/2012 18:14, Paul Tremblay a écrit : > > I noticed today that when I create a bar graph with zero values that > > the labels don't align correctly: > > When I run your code with defects = [0, 0, 0, 5, 6, 7], I don't noti

Re: [Matplotlib-users] bug with bar graph when plotting zero values?

2012-09-27 Thread Damon McDougall
On Thu, Sep 27, 2012 at 1:07 PM, Benjamin Root wrote: > > > On Thursday, September 27, 2012, Pierre Haessig wrote: >> >> Hi Paul, >> >> Le 26/09/2012 18:14, Paul Tremblay a écrit : >> > I noticed today that when I create a bar graph with zero values that >> > the labels don't align correctly: >> >

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
- Original Message - > From: Michael Rawlins > To: Jeff Whitaker ; Benjamin Root > ; Matplotlib Users > Cc: > Sent: Wednesday, September 26, 2012 6:23 PM > Subject: Re: [Matplotlib-users] error reading netcdf file > > > >> >> From: Jeff Whitaker

[Matplotlib-users] Possible bug (or unclear docs) with quiver

2012-09-27 Thread Sergio
Hi, trying to create a velocity plot for a 2d ode and superimposing it onto a trajectory, I am encountering some issues with quiver. Let ns1(x,t) be a vector function defining the ode, ready to be integrated with scipy odeint and actually invariant with t. Here, x is a 1d state array with 2 entri

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Benjamin Root
Michael, The .missing_value attribute is not used anymore (It is ._FillValue now). Anyway, if your data had any value that matched ._FillValue, then, by default, netCDF4 will give you a masked array anyway. You will only need to set the mask if the fill value doesn't exist or if it is different f

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
> > From: Benjamin Root >To: Michael Rawlins >Cc: Matplotlib Users >Sent: Thursday, September 27, 2012 2:29 PM >Subject: Re: [Matplotlib-users] error reading netcdf file > > >Michael, > >The .missing_value attribute is not used anymore (It is ._FillValue now). 

Re: [Matplotlib-users] default data sets for matplotlib?

2012-09-27 Thread Paul Tremblay
On 9/26/12 10:15 AM, Michael Droettboom wrote: On 09/26/2012 09:33 AM, Benjamin Root wrote: On Wed, Sep 26, 2012 at 9:10 AM, Michael Droettboom > wrote: On 09/26/2012 12:28 AM, josef.p...@gmail.com wrote: > On Wed, Sep 26, 201

Re: [Matplotlib-users] example of pareto chart

2012-09-27 Thread Paul Tremblay
On 9/26/12 12:31 PM, Benjamin Root wrote: On Wed, Sep 26, 2012 at 12:10 PM, Paul Tremblay mailto:paulhtremb...@gmail.com>> wrote: Thanks. I know when doing 8/9 in python 2.x you get 0. With python 3 you get a decimal (Hooray, Python 3!). I ran the script I submitted with python