plotly / plotly/plotly.js

Use newer version of Maki icons for scattermapbox plots

Offen
#7,447 1 Kommentar 2 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@camdecoster arbeitet bereits daran.

Seit 24.6.2025.

feature P3
Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
28

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.