Sorry for the spam, but I just wanted to say that I now understand that I
should be using plt.xlim to zoom in on the x-axis rather than changing the
bins. When I zoom in with that, the bin height is indeed constant as
expected.
On Sat, Mar 7, 2015 at 8:00 PM, Tomo Lazovich wrote:
> Thanks
Paul Hobson wrote:
>
>> IMO, this seems like a bug. I would expect bars to change height with
>> zoom/limit levels.
>> -p
>>
>> —
>> Sent from Mailbox <https://www.dropbox.com/mailbox>
>>
>>
>> On Sat, Mar 7, 2015 at 4:20 PM, Tomo
y would find it
desirable.
Thanks for your help!
Tomo Lazovich
P.S. Here is a toy example of what I mean:
>> import numpy as np
>> import matplotlib.pyplot as plt
>> h1 = [0, 0, 0, 1, 1, 2, 3]
>> my_bins = np.linspace(-0.5, 4.5, 6)
>> plt.hist(h1, bins=my_bins, no