Closed Oblarg closed 3 years ago
Are you using the latest version? Can you send me the relevant data that reproduces those plots?
Updating to the most recent version causes the code to produce the following error:
Warning: Computation failed in `stat_contour2()`: object 'rlang_hash' not found
I could try to provide the data, but it'd take some work to wrangle it into a shareable format.
That looks to be some kind of issue with your installation of the rlang package. If you haven't yet restarted your R session, do it and try again. If it still doesn't work, try reinstalling the rlang package (install.packages("rlang")
), restarting your session and trying again.
That appears to have fixed it. Thanks!
Great! And the contours work as expected?
Yep.
I have a baseball statistics tool that I'm working on, and I'm attempting to use
geom_contour_tanaka
for some plots. Alas, the shading does not appear to be working properly:If you look closely, you'll see that
geom_contour_tanaka
seems to disagree with the color fill (and, I think, with the data) as to whether a given level should be "popped out" or "popped in." In fact, it doesn't even appear to be locally-consistent with itself.Any idea what could causing this on my end, or is this a bug?
The relevant call is: