Re: [Matplotlib-users] Large values in histograms not showing

2011-12-06 Thread Leo Breebaart
Benjamin Root writes: > Confirmed. This seems to be a bug, but a quick glance at hist() doesn't > make it obvious to me what the cause is. Perhaps it is in bar()? > > Leo, could you please file a bug report on github? Done. -- Leo Breebaart --

Re: [Matplotlib-users] Large values in histograms not showing

2011-12-06 Thread Benjamin Root
On Tue, Dec 6, 2011 at 6:56 AM, Leo Breebaart wrote: > fig = plt.figure() > ax = fig.add_subplot(111) > # Plot as expected: single bar in the center: > #result = ax.hist([1.0e+14], 5) > # Plot remains completely empty: > result = ax.hist([1.0e+16], 5) > print "result:", result > plt.show() > Co

[Matplotlib-users] Large values in histograms not showing

2011-12-06 Thread Leo Breebaart
Hi all, It would appear that Axes.hist() does not handle large input values the way I was expecting it to. For example: - import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) # Plot as expected: single bar