plotly / plotly/plotly.py

problem with vrect in log plot

Aperta
#3,493 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@nicholas-esterer ci sta già lavorando.

Dal 3/12/2021.

bug P3
Lingua principale
Python
Stelle
18.8k
Fork
2.8k
Merge medio
16h 26m
PR unite (30g)
21

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.