plotly / plotly/plotly.js

provide attribute to disable `image` trace auto-`scaleratio`

Offen
#5,950 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@antoinerg arbeitet bereits daran.

Seit 24.9.2021.

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

Beschreibung

We need to be able to disable the automatic scaleratio behaviour from the image trace, either with an attribute on the image trace itself, or by being able to pass a well-defined, non-null value into scaleratio or scaleanchor.

The smallest change I can imagine would be to disable this behaviour if the scaleratio value in the actual input figure is 0 or something.

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.