axis automargin moves axis label outside of individual tick labels, not the longest tick label
See original GitHub issuesee #2243
Using automargin: true
moves axis label outside of tick labels, but only to the tick labels near the axis label, not below the longest tick label.
e.g.,
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Matplotlib - Move X-Axis label downwards, but not X-Axis Ticks
Using tips from my previous question: Matplotlib - label each bin, I've more or less go the kinks worked out. There's one final...
Read more >Axes in R - Plotly
General Axis properties. The different groups of Cartesian axes properties are. title of the axis; tick values (locations of tick marks) and tick...
Read more >ScottPlot 4.1 Cookbook
The layout system automatically measures axis labels and ticks to provide a plot with the largest data area possible. However, this can be...
Read more >How to add annotations and decorations to charts - think-cell
Use this feature to show a numerical scale for the values in your chart, represented either by an axis line with tick marks...
Read more >How do I make smaller discontinuities, remove tick marks from ...
your document example is not minimal, in preamble are loaded many unrelated package and defined unrelated commands. In my MWE I remove all ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So the current behaviour surprised me, but is actually not a bug: the
automargin
feature correctly pushes the margins so as to leaves enough room below the tick labels for the axis title’s font height, but the axis title doesn’t always position itself below the tallest tick label: it positions itself below the tallest tick label above itself which my tests hadn’t shown, hence my initial surprise.So this is not a bug but a reasonable feature request: to be able to control the positioning of the axis title with respect to the labels above it 😃
Let me dig into this today, this behaviour does seem at odds with the intended behaviour.