simvue-io / simvue-io/python-api
Remove conversion of Matplotlib artifacts to Plotly objects for storage
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 4
- Forks
- 1
- Ø Merge
- 5 T. 8 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
When a Matplotlib figure is stored as an artifact to the Simvue server, it is converted to a Plotly artifact and stored that way (I assume so that it can be viewed within the UI, which is very useful!). However when it is pulled back from the server using the client, the figure is returned as a Plotly object, instead of the Matplotlib figure originally stored. Can the figure be converted back to Matplotlib before being returned, so that the user gets back the same artifact which they stored?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne beim Client-Pfad, der gespeicherte Artefakte abruft, und verfolge, wie Matplotlib-Figuren serialisiert und rekonstruiert werden. Prüfe die in der Issue beschriebene bestehende Verarbeitung von Matplotlib zu Plotly und füge gezielte Round-Trip-Tests hinzu. Als erledigt gilt die Aufgabe, wenn eine auf Simvue gespeicherte Matplotlib-Figur als Matplotlib-Figur zurückgegeben wird und das Abrufen vorhandener Plotly-Artefakte weiterhin funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- matplotlib, plotly, python
- Bereich
- api, backend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100