Briefly, when a geom uses >1 position aesethetic, e.g. xmin and xmax instead of just x, jitters were applied independently to each of the position aesthetics. This PR applies the same remedy as in #4403 applied to position_jitter() for position_jitterdodge().
Reprex from issue, notice that the vertical parts are now centered relative to the hinges:
This PR aims to fix #5818.
Briefly, when a geom uses >1 position aesethetic, e.g.
xmin
andxmax
instead of justx
, jitters were applied independently to each of the position aesthetics. This PR applies the same remedy as in #4403 applied toposition_jitter()
forposition_jitterdodge()
.Reprex from issue, notice that the vertical parts are now centered relative to the hinges:
Created on 2024-04-02 with reprex v2.1.0