You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I want to add a shape layer with stippling I generated using the HatchedPolygons package. The code is the same, the lines commented out above added back in is the only difference). It correctly plots over the facets, but the base layer (the temperature changes plotted using tm_fill) is now comprised of the SSP3-7.0/2090 facet in all facets:
There is no warning and this behaviour only happens when I put the tm_lines (and associated tm_shape) BEFORE the tm_facets call, if I put it after it plots the temperature changes correctly again but plots the same stippling on all facets (understandably). This seems like a bug to me, as I have no idea what would cause this in my code..
Addendum: This is what happens when I reverse the order (plot the stippling first, then the temperature changes with a low alpha on top). It seems like it doesn't apply the filtering anymore and plots all stippling geometries (I have a sf object with stippling at all grid points which gets filtered to the relevant variable or its robustness statistic), but facets the temperatures correctly.
The text was updated successfully, but these errors were encountered:
Sorry for the long-winded title, easier to describe what is happening with images.
This is the base plot I am working from, with code working as expected:
Now I want to add a shape layer with stippling I generated using the
HatchedPolygons
package. The code is the same, the lines commented out above added back in is the only difference). It correctly plots over the facets, but the base layer (the temperature changes plotted using tm_fill) is now comprised of the SSP3-7.0/2090 facet in all facets:There is no warning and this behaviour only happens when I put the
tm_lines
(and associatedtm_shape
) BEFORE thetm_facets
call, if I put it after it plots the temperature changes correctly again but plots the same stippling on all facets (understandably). This seems like a bug to me, as I have no idea what would cause this in my code..Addendum: This is what happens when I reverse the order (plot the stippling first, then the temperature changes with a low alpha on top). It seems like it doesn't apply the filtering anymore and plots all stippling geometries (I have a sf object with stippling at all grid points which gets filtered to the relevant variable or its robustness statistic), but facets the temperatures correctly.
The text was updated successfully, but these errors were encountered: