11

In pyplot's hist() function, we are able to access the values of the histogram bins (through the return n); is it possible to access this same information from Seaborn's distplot? Seaborn only returns an axis object.

Ultimately, I'd like juxtapose a line plot on top of the histogram which sums the counts in the bins.

Constantino
  • 2,243
  • 2
  • 24
  • 41

1 Answers1

10

For completeness, numpy.histogram is what I was looking for!

Constantino
  • 2,243
  • 2
  • 24
  • 41