Călin
Călin

Reputation: 337

Box plot from binned data in Python

I would like to create a box plot from some pre-counted data (a histogram, essentially). Is it possible to do this in Python?

I am using matplotlib and I noticed that the boxplot function does not have something similar to the weights parameter of the hist function.

Upvotes: 0

Views: 2196

Answers (1)

Călin
Călin

Reputation: 337

OK, I found the answer here. The function I was looking for is bxp. This question asks how to create a box plot when only having access to the summary statistics, which is an even more compact version of my original issue: I can easily compute those statistics from my pre-counted data.

Upvotes: 1

Related Questions