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.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

feature P3

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.

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus plotly/plotly.js

Alle Issues in plotly/plotly.js

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

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