You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] add_hline and add_vline do not work with datetime and annotation_text #3494
File "..../.venv/lib/python3.9/site-packages/plotly/shapeannotation.py", line 7, in _mean
return float(sum(x)) / len(x)
TypeError: unsupported operand type(s) for +: 'int' and 'datetime.datetime'
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson
Activity
pratikmondkar commentedon Jan 18, 2022
Facing the same issue. This feature is especially useful for facet grids since it avoids having to add annotations for each facet individually
Uberi commentedon Mar 6, 2022
Looks like this is related to #3065, which also has a workaround!
gvwilson commentedon Jul 3, 2024
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson