better support for lines on maps in Plotly Express
未关闭
还没有人认领这个 Issue。
feature
P3
- 主要语言
- Python
- 星标
- 18.8k
- 派生
- 2.8k
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 21
描述
Today, px.line_mapbox and px.line_geo expect rows which are points, which are then split into groups and connected by lines.
In most GIS formats, however, as wrapped by GeoPandas, the entire line feature is often stored in a single row, just like choropleth geometries. We should have either a new pair of PX functions for this (px.line_feature_mapbox?) or an option to the existing functions (px.line_mapbox(geojson=<geojson>)) to support this option out of the box.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查现有的 px.line_mapbox 和 px.line_geo 入口点,以及它们如何将行解释为点。将该行为与 GeoPandas 和 GIS 格式中的单行线要素进行比较。完成的要求是确定一项双方认可的设计——新增 PX 函数或为现有函数增加一个选项——并默认支持这些线要素。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100