Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从一些预先计算的数据(本质上是直方图)创建一个箱线图。是否有可能在 Python 中做到这一点?
我正在使用 matplotlib,我注意到boxplot函数没有类似于hist函数的weights参数的东西。
好的,我在这里找到了答案。我正在寻找的功能是bxp。这个问题询问如何在只能访问汇总统计信息时创建箱线图,这是我原始问题的一个更紧凑的版本:我可以轻松地从我预先计算的数据中计算这些统计信息。