Closed Maarten-vr closed 2 months ago
Seeing the same issue, thanks for reporting
I have the same issue as well!
Same here!
+1, I've got the same issue
Same issue here
It worked this way:
fig.add_hline(name='any name', y=50, yref='y2', line=dict(color='darkred', width=1, dash='dash'), annotation=dict( text="any text", yanchor="bottom", xanchor="right", font_color="darkred")
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 a while, 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. Alternatively, if it's a request for tech support, please post in our community forum. Thank you - @gvwilson
I was working with the recently introduced horizontal lines (hline) objects and believe I encountered a small bug. When adding a horizontal line to the secondary axis, the position of the annotated text seems to stick to the first y axis still.
Working Example:
Am I overlooking something or is this a small bug?
PS: Great addition by the way!