-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Warning: Ignoring unknown aesthetics: x, y with geom_map #1810
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
It's an unanticipated change, but it is correct I believe. I honestly don't remember much about |
I added more detail from some basic tests. I have some cycles in the next 48 hours to poke at this on the ggplot2 side if you and/or @thomasp85 want an extra set of hands on this. |
Much appreciated. I'm in "new job"-mode so I'll have less time in the next week or so but will be responding and advising. I'll deal with any facet related issues of course |
Cool. I'm on this and will update prbly either very late tonight or tomorrow AM (EDT). |
Ok, the problem with the examples is the use of I think that means this is not a problem with |
Uh oh!
There was an error while loading. Please reload this page.
Before I go a-hunting and "fixing"
ggalt::coord_proj()
I just wanted to make sure that (a) you knew that the examples forgeom_map()
tossWarning: Ignoring unknown aesthetics: x, y
since, well, there are no aesthetics for it anymore and, (b) that this is a desired/designed change (so I know I should compensate for it).If this is deliberate, I'll take care of the examples for mapping in the
ggplot2
package and send in a PR for you to ensure the warnings don't happen.UPDATE
I think the mapping geom stuff may be broken.
If the
x
&y
aesthetics are really no longer needed I should be able to do:but that gives a blank map.
If I do:
Then I get a map and the
Warning: Ignoring unknown aesthetics: x, y
.If I do:
I get:
(same for
coord_proj()
since I mirrored thecoord_map()
idiom very closely).This:
makes the usual broken mercator world map (but it renders expectedly)
This:
Errors out after the points are projected with:
which is probably on me as I suspect that there was a valid ggplot2 API change that I need to match in
coord_proj()
(and it may just be that some of the utility code I needed to embed inggalt
fromggplot2
needs an update).The text was updated successfully, but these errors were encountered: