support UnitRegistry.setup_matplotlib
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- matplotlib, python
- Bereich
- data-visualization
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Python
- Sterne
- 120
- Forks
- 17
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus xarray-contrib/pint-xarray
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
xarray-contrib/pint-xarray#400 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
xarray-contrib/pint-xarray#362 · 1 Kommentar ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
xarray-contrib/pint-xarray#361 · 1 Kommentar ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
xarray-contrib/pint-xarray#303 · 3 Kommentare ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
xarray-contrib/pint-xarray#271 · 7 Kommentare ·
Alle Issues in xarray-contrib/pint-xarray
Ähnliche Issues
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
aws-samples/sample-per-model-bedrock#782 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Google text documents are base64-encoded twiceEvtl. vergeben @feiiiiii5 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
coveragepy/coveragepy#2364 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100