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 notice a

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 ben.r...@ou.edu 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 rawlin...@yahoo.com To: Jeff Whitaker jeffrey.s.whita...@noaa.gov; Benjamin Root ben.r...@ou.edu; Matplotlib Users matplotlib-users@lists.sourceforge.net Cc: Sent: Wednesday, September 26, 2012 6:23 PM Subject: Re: [Matplotlib-users]

[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

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

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: Matplotlib Users matplotlib-users@lists.sourceforge.net Sent: Thursday, September 27, 2012 2:29 PM Subject: Re: [Matplotlib-users] error reading netcdf file Michael, The

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 md...@stsci.edu mailto:md...@stsci.edu wrote: On 09/26/2012 12:28 AM, josef.p...@gmail.com mailto:josef.p...@gmail.com wrote: On Wed,

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 paulhtremb...@gmail.com 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