Closed
Description
I'm trying to use *axis.automargin
to get the minimum necessary margin to display all tick labels/axis titles.
To do that I set layout.margin.[tblr]
to 0 and then set layout.[xy]axis.automargin
to true.
When I do this and do not have axis titles, the tick labels are slightly clipped. See this pen for an example: https://codepen.io/anon/pen/XPzEeN
When in the pen if you uncomment the line that sets layout.yaxis.title = ""
, you'll notice that the ticks are no longer clipped.