plotly / plotly/plotly.js

Use newer version of Maki icons for scattermapbox plots

未关闭
#7,447 1 条评论 2 个 reaction 已指派 1 人 在 GitHub 查看

@camdecoster 已经在做这个了。

开始于 2025年6月24日。

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

描述

Description

The library currently uses (via unpkg) v2.1.0 of Maki icons for the scattermapbox plot. The current version is 8.2.0. Our documentation points to the Mapbox page listing the Maki icons and it doesn't match what icons are currently available. We should update the library to utilize the newer version of Maki.

Acceptance criteria

  • Library points to newer version of Maki
  • Documentation is updated to describe what icon options are available

Notes

  • After some initial testing, there are some CORS issues with pointing to the newer version of Maki. This appears to be an unpkq issue.
  • The newer icons don't have the size suffix (-11, -15, etc.) so the library will need to updated to account for that
  • This issue has been reported in the plotly.py repo here and here
  • An alternative icon source is the jsdelivr CDN (which doesn't have CORS issues from first testing)

贡献指南

打开贡献指南

从这里开始

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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