width.Legends.Rd
Width of the Legends
# S3 method for Legends width(x, ...)
x | The |
---|---|
... | Other arguments. |
The returned unit x is always in mm
.
lgd = Legend(labels = 1:10, title = "foo", legend_gp = gpar(fill = "red")) ComplexHeatmap:::width(lgd)#> [1] 8.92288888888889mm