question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

axis automargin moves axis label outside of individual tick labels, not the longest tick label

See original GitHub issue

see #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.,

image

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolaskruchtencommented, Apr 23, 2018

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 😃

1reaction
nicolaskruchtencommented, Apr 20, 2018

Let me dig into this today, this behaviour does seem at odds with the intended behaviour.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found