-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Labels
DocsDocumentation issuesDocumentation issues
Description
The tm_style() function is sometimes producing strange results depending on its position in the code. I'm not totally sure if it's a bug or the desired behavior but this didn't happen with previous tmap versions.
This works well:
tm_shape(World) + tm_polygons(fill = "HPI") +
tm_style("natural") +
tm_title("Happy Planet Index") +
tm_layout(earth_boundary = TRUE, frame = FALSE) +
tm_crs("ESRI:54030")
This produces strange results (outside color, earth boundary not drawn):
tm_shape(World) + tm_polygons(fill = "HPI") +
tm_title("Happy Planet Index") +
tm_layout(earth_boundary = TRUE, frame = FALSE) +
tm_style("natural") +
tm_crs("ESRI:54030")
Metadata
Metadata
Assignees
Labels
DocsDocumentation issuesDocumentation issues