You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been musing for a while that it'd be great if we could have axis text repelled.
This could be great for e.g. heatmaps that highlight only some rows or columns.
For example, in the plot below there is ample spacing for 'Texas', 'New York' and 'California' but the states starting with 'M' are a little bit cramped.
I'm reasonably confident that it should be possible to capture that axis repelling into an element_text_repel() theme setting that you can feed to the axis text elements.
If this is something you think might be a good fit for {ggrepel}, I'll be happy to prepare a PR and discuss further.
Thanks for reading!
The text was updated successfully, but these errors were encountered:
Hi Kamil and others,
I have been musing for a while that it'd be great if we could have axis text repelled.
This could be great for e.g. heatmaps that highlight only some rows or columns.
For example, in the plot below there is ample spacing for 'Texas', 'New York' and 'California' but the states starting with 'M' are a little bit cramped.
Created on 2024-01-13 with reprex v2.0.2
I'm reasonably confident that it should be possible to capture that axis repelling into an
element_text_repel()
theme setting that you can feed to the axis text elements.If this is something you think might be a good fit for {ggrepel}, I'll be happy to prepare a PR and discuss further.
Thanks for reading!
The text was updated successfully, but these errors were encountered: