Open
Description
When I set the mirror value to True in the update_yaxes function, I expected the right line of the graph to be drawn, but it is not drawn.
fig_combine = go.Figure()
color_index = 0
fig_combine.add_trace(go.Bar
(x=[1,2,3,4,5,6,7,8], y=[1,2,3,4,5,6,7,8,9], name=f"test", marker=dict(color=colors[color_index]), opacity=0.7))
fig_combine.update_layout(
width=650,
height=700,
title=dict(text=f"{fraction} Fraction", font=dict(size=20, color="black"), x=0.5, y=0.9, xanchor="center", yanchor="top"),
barmode="overlay"
)
fig_combine.update_layout(legend=dict(orientation="v", xanchor="center", yanchor="top", x=0.13, y=0.99, bgcolor='rgba(255, 255, 255, 0.5)'))
fig_combine.update_xaxes(
title="Equivalent Circle Diameter(ECD, µm)",
showgrid=True,
range=[0, 9],
dtick=0.5,
showline = True,
mirror = True
)
fig_combine.update_yaxes(
title=f"{fraction} Fraction(%)",
showgrid=True,
range=[0, 9],
dtick=2,
showline = True,
**mirror = True**
)