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:

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

2012-09-26 Thread Paul Tremblay
I noticed today that when I create a bar graph with zero values that the labels don't align correctly: import matplotlib.pyplot as plt import numpy as np fig = plt.figure() names = ['name a', 'name b', 'name c', 'named', 'name e', 'name f'] defects = [0, 0, 0, 5, 6, 7] ax = fig.add_subplot(111)

[Matplotlib-users] bug on bar?

2007-01-16 Thread Lionel Roubeyrie
Hi all, I've got a strange problem with bar, it seems that xticks are not correctly draw: |remi|[16]years Out [16]:[1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006] |remi|[17]maxis Out [17]:[137.25, 124.5, 125.125, 125.375, 176.5, 148.625, 145.875, 150.375]