这是indexloc提供的服务,不要输入任何密码
Skip to content

byrow = FALSE not working in tm_facets_wrap #1154

@Nowosad

Description

@Nowosad
library(tmap)

tm = tm_shape(NLD_dist) +
  tm_polygons("edu_appl_sci",
              fill.scale = tm_scale_intervals(values = "pu_gn", style = "kmeans", n = 7))

# default
tm +
  tm_facets_wrap(by = "province", byrow = TRUE)

# with byrow = FALSE -- not working
tm +
  tm_facets_wrap(by = "province", byrow = FALSE)

Created on 2025-07-01 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    LayoutIssues related to map layout (including many maps, facets, positions, etc.)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions