plotly / plotly/plotly.js

Boxplot: Set Whisker options

未关闭
#277 13 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature P3
主要语言
JavaScript
星标
18.3k
派生
2k
平均合并
2 天 12 小时
30 天内合并 PR
28

描述

Problem: Boxplot Whiskers can map to different data – sometimes this is +- 1.5 times the interquartil range, sometime the 5th and 95th percentile etc. In the box documentation, it is state that plotly uses the +-1.5 IQR as a standard. It is also stated that the boxpoints option allows other options, but seemingly boxpoints sets the displaying sof catterpoint and not of whiskers.

Proposed Solution: An option for setting what the whiskers mean. Candidates for this option would:

  • n * IQR (for a +-1.5* the IQR, like the current default)
  • nth percentiles (for something like a 5%/95% position)
  • n*sd (for a +- 1 standard deviation position)

Or, if that option(s) already exists, a hint in the docuementation on how to set them.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 issue 中链接的 boxplot 文档开始,检查其中如何描述现有的 boxpoints 选项。确定 whisker 行为是否已经可以配置,或者是否需要新增选项,然后定义并记录所支持的 IQR、百分位数或标准差行为。当所选的 whisker 设置能够正常工作,并且 boxplot 文档说明如何使用这些设置时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
data-visualization
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。