Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
Milestone
Description
Hi, I am trying to use the library for a simple visualisation for the first time, and I stumbled upon supposedly a bug trying to draw a vertical line with text annotation on a graph with a date-time x axis.
import plotly.express as px df = px.data.stocks(indexed=True) fig = px.line(df) fig.add_vline(x="2018-09-24", annotation_text="test" ) fig.show() I get the following error message:
TypeError: unsupported operand type(s) for +: 'int' and 'str'
Could anyone please help me confirm that it is indeed a bug, my version is '4.14.1' ? Thank you.
dhirschfeld, timvermeulen, elena-lyulina, pavelbodrov, marcus-maro and 64 more