We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8625f75 commit 0e9e321Copy full SHA for 0e9e321
packages/python/plotly/plotly/express/_imshow.py
@@ -573,9 +573,9 @@ def imshow(
573
)
574
fig.update_traces(hovertemplate=hovertemplate)
575
if labels["x"]:
576
- fig.update_xaxes(title_text=labels["x"])
+ fig.update_xaxes(title_text=labels["x"], row=1)
577
if labels["y"]:
578
- fig.update_yaxes(title_text=labels["y"])
+ fig.update_yaxes(title_text=labels["y"], col=1)
579
configure_animation_controls(args, go.Image, fig)
580
fig.update_layout(template=args["template"], overwrite=True)
581
return fig
0 commit comments