Stacked subplots with shared X-axis and ticks text display

Hi,

I am trying to display clearly ticks on 3 stacked subplots, with 2 sharing the X-axis, but I can’t display the ticks text at the right place, as shown on this codepen : https://codepen.io/aliallaouilam/pen/ZEEwKOj . Ticks text for the third graph should be placed at the bottom, not on the middle.
Another (not working) option can be found here https://codepen.io/aliallaouilam/pen/QWWYvRV

thanks,

Ali

Here’s how: https://codepen.io/etpinard/pen/RwwdPVW

1 Like