Reputation: 337
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
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