Briefly, it adds an orientation argument to position_dodge() that can be set to "y" in order to dodge vertically if has_flipped_aes() cannot discern an orientation.
In order to make this work, has_flipped_aes() can now take custom default that is returned when other attempts to discern the orientation have been exhausted.
This PR aims to fix #5809.
Briefly, it adds an
orientation
argument toposition_dodge()
that can be set to"y"
in order to dodge vertically ifhas_flipped_aes()
cannot discern an orientation. In order to make this work,has_flipped_aes()
can now take custom default that is returned when other attempts to discern the orientation have been exhausted.Reprex from the issue:
Created on 2024-04-18 with reprex v2.1.0