plotly / plotly/plotly.py

problem with vrect in log plot

Offen
#3,493 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@nicholas-esterer arbeitet bereits daran.

Seit 03.12.2021.

bug P3
Vorherrschende Sprache
Python
Sterne
18.8k
Forks
2.8k
Ø Merge
16 Std. 26 Min.
Gemergte PRs (30 T.)
21

Beschreibung

Thank you so much for helping improve the quality of Dash!

We do our best to catch bugs during the release process, but we rely on your help to find the ones that slip through.

Describe your context
Please provide us your environment, so we can easily reproduce the issue.

  • replace the result of pip list | grep dash below
dash                      1.21.0
dash-bootstrap-components 0.13.0
dash-core-components      1.17.1
dash-datetimepicker       0.0.4
dash-html-components      1.1.4
dash-table                4.12.0
  • if frontend related, tell us your Browser, Version and OS

    • OS: Win
    • Browser chrome
    • Version 96.0.4664.45

Describe the bug

Log graph has problem with Vrect

Expected behavior

The annotation must locates on the Vrect.

Screenshots

image

    def get_vrect(fig, x0, x1, text, color):
        fig.add_vrect(x0=x0, x1=x1, annotation_text=text, annotation_position="inside top right", fillcolor=color, opacity=0.3, line_width=0)
        return fig

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.