support UnitRegistry.setup_matplotlib
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- matplotlib, python
调研方向
Start with the .plot accessor and trace how single plots and facet grids obtain values through DataArray.values or DataArray.to_masked_array. Compare those paths with UnitRegistry.setup_matplotlib(); done means plotting without dequantifying preserves quantities so matplotlib can use its registered converter in both cases.
由索引模型根据 Issue 内容生成。
描述
Right now, trying to use the .plot accessor without dequantifying first will strip the units so matplotlib never sees the quantities and can't use the converter registered by UnitRegistry.setup_matplotlib(). This happens for both single plots and facet grids, either because of DataArray.values or by converting to a masked array using DataArray.to_masked_array.
cc @jthielen
- 主要语言
- Python
- 星标
- 120
- 派生
- 17
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
xarray-contrib/pint-xarray 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 56/100
xarray-contrib/pint-xarray#400 ·
-
难度 3/5 1-2 天 新手友好度 48/100
xarray-contrib/pint-xarray#362 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
xarray-contrib/pint-xarray#361 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 55/100
xarray-contrib/pint-xarray#303 · 3 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
xarray-contrib/pint-xarray#271 · 7 条评论 ·
查看 xarray-contrib/pint-xarray 的全部 Issue
相似的 Issue
-
documentation good first issue
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
MarketSquare/robotframework-browser#5479 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
endoflife-date/endoflife.date#11561 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
OCA/l10n-brazil#5602 ·
维护者通常 1 天内回复
-
documentation review-2.0.0
难度 2/5 1-3 小时 新手友好度 78/100
dkuenzel/meshcore-home-gateway#106 ·
维护者通常 1 天内回复