Skip to content

Commit

Permalink
moved composition to tmap.glyphs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtennekes committed Jun 18, 2024
1 parent 2d6d261 commit d133496
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 127 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ export(tm_scale_asis)
export(tm_scale_bar)
export(tm_scale_bivariate)
export(tm_scale_categorical)
export(tm_scale_composition)
export(tm_scale_continuous)
export(tm_scale_continuous_log)
export(tm_scale_continuous_log10)
Expand Down
33 changes: 0 additions & 33 deletions R/tm_scale_composition.R

This file was deleted.

1 change: 0 additions & 1 deletion R/tmapLeafletLegend.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ make_equal_list = function(x) {


tmapLeaflet_legend = function(cmp, lf, o, orientation) {

group = "tmp" # TODO
leg_className = paste("info legend", gsub(" ", "", group, fixed = TRUE))
layerId = paste0("legend", sprintf("%02d", .TMAP_LEAFLET$leg_id)) # "legend401" #todo
Expand Down
91 changes: 0 additions & 91 deletions R/tmapScaleComposition.R

This file was deleted.

3 changes: 2 additions & 1 deletion R/tmapScale_.R
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ tmapScaleAuto = function(x1, scale, legend, chart, o, aes, layer, layer_args, so
if (k == 2) {
sc = "bivariate"
} else if (k > 2) {
sc = "composition"
stop("No default scale for multivariate variables", call. = FALSE)
#sc = "composition"
} else if (cls[1] == "asis") {
sc = "asis"
} else if (attr(cls, "unique") && !(sc_opt == "asis")) {
Expand Down

0 comments on commit d133496

Please sign in to comment.