plotly / plotly/plotly.js

Ternary Contour Plots in JavaScript

Offen
#7,519 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

I would like to reopen #3503.

Currently there is no native support of ploting contours in ternary plot, the current official documentation for it is wrong (or inconsistent). As reported in this issue from the graphing-library-docs repo.

In plotly.py, Ternary contours in Python, there are ternary contour plots examples:

Image Image

But in JS, Contour Plots in JavaScript, we only get:

Image

Apparently, the JS example only fills the area instead of doing what is expected of a "contour" plot.

It would be great if this could be implemented (or if it already is, but only requires data transformation? ) and if there were examples showing how to plot the contours as in Ternary contours in Python.

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.

Rechercherichtung

Beginne mit der verlinkten Dokumentation zu JavaScript ternary-contour und contour-plots und vergleiche sie anschließend mit den verlinkten Python ternary-contour-Beispielen. Bestimme, ob Plotly.js das angeforderte Rendering bereits unterstützt oder ob Implementierung und Beispiele erforderlich sind; abgeschlossen bedeutet, dass JavaScript Konturlinien erzeugen kann, die mit den Python-Beispielen vergleichbar sind, und dass die offizielle Dokumentation korrekt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
data-visualization
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
28/100

Neue Issues direkt in Ihr Postfach

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