Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Wrong annotation location of vrect on log graph

$
0
0

Good day, Guys. I have find an error related to the “vrect” component on graph with log axes .

The pictures shows the error. The Annotation shifted on ~10^2000. Vrect was showed correct.

You can see code of vrect below. The annotation is not attached to vrect

fig.add_vrect(
    x0=row['BSTART'], 
    x1=row['BEND'], 
    annotation_text=row['nam'], 
    annotation_position="top right",
    fillcolor=row['color'], 
    opacity=0.3, 
    line_width=0
)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles