1

I am in need of retrieving the default bins that were used for a histogram generated by dataframe.hist rather than plt.hist.

I found this page on plt.hist, but I also found out that dataframe.hist returns a subplot while plt.hist returns a tuple. I'm therefore unsure as to how I can retrieve the bin ranges for the dataframe.hist.

What can I try next?

halfer
  • 19,824
  • 17
  • 99
  • 186
user32882
  • 5,094
  • 5
  • 43
  • 82
  • @MedAli The actual bins. This means having access to the max and mins of each bin. – user32882 Feb 19 '19 at 09:57
  • 1
    This question is actually answered by https://stackoverflow.com/questions/33888973/get-values-from-matplotlib-axessubplot So perhaps it should get closed as duplicate – user32882 Feb 19 '19 at 10:12

0 Answers0