plotly / plotly/plotly.py

problem with vrect in log plot

オープン
#3,493 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@nicholas-esterer がすでに取り組んでいます。

2021年12月3日 から。

bug P3
主要言語
Python
スター
18.8k
フォーク
2.8k
平均マージ
16時間 26分
マージ済み PR(30日)
21

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。