-
Notifications
You must be signed in to change notification settings - Fork 2.1k
coord_trans/polar() ignore position guides #3959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks, confirmed. Currently, the Lines 154 to 173 in d3d47be
Lines 217 to 220 in d3d47be
The other Line 62 in d3d47be
But, it seems we cannot simply transplant the Line 134 in d3d47be
Besides, Lines 128 to 130 in d3d47be
To enable this, we need to include Lines 99 to 104 in d3d47be
e.g. Lines 138 to 143 in d3d47be
Lines 217 to 227 in d3d47be
@paleolimbot |
No prob! The I think the general idea was to test the |
Thanks, then let me try a PR this time. This would be a nice lesson to get familiar with coords and guides (and even if I fail, the experience should be useful to review your PRs...). |
|
While I was trying to making a variant of
guide_axis()
that displays tick marks at minor breaks (see for example SO), I stumbled on a possible bug incoord_trans()
andcoord_polar()
, which appear to ignore position guides.Standard cartesian coordinates seem to work just fine.
Polar coordinates don't render the correct axis title.
Transformed coordinates also don't render the correct axis title.
Created on 2020-04-22 by the reprex package (v0.3.0)
The same pattern holds if I specify
scale_x_continuous(guide = guide_axis("custom axis))
or useguides(x.sec = guide_axis("custom axis"))
.The text was updated successfully, but these errors were encountered: