Python-Matplotlib 箱线图。如何显示百分位数 0、10、25、50、75、90 和 100?
I would like to plot an EPSgram (see below) using Python and Matplotlib.
The boxplot
function only plots quartiles (0, 25, 50, 75, 100). So, how can I add two more boxes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果你仍然好奇的话,我整理了一个样本。它使用
scipy.stats.scoreatpercentile
,但您可能会从其他地方获取这些数字:
I put together a sample, if you're still curious. It uses
scipy.stats.scoreatpercentile
, but you may be getting those numbers from elsewhere: