Maintain ticks on shared axes

Hello,

I am using subplots with a shared x-axis, which work great. What I would like is for each shared x-axis to keep their ticks, as opposed to the ticks disappearing as you can see in the screenshot. I have found unanswered topics that have asked the same question. (Show shared axis in all subplots)

It would be great to know if this is possible. Thank you in advance!

Will

1 Like

layout.xaxis.mirror: 'allticks' should do the trick.

Hi @etienne, thanks for the reply! Unfortunately:

fig['layout']['xaxis1'].update(mirror='allticks')

Doesn’t seem to make a difference. Is this change you are suggesting?

Best,
Will