Jakub
Jakub
A bit disruptive idea: @mtennekes what do you think about renaming `tm_comp_group` to `tm_components`? (Maybe then atrr.color can go there)
@mtennekes, have you considered slightly different options for the `group_id` argument? I do not know why exactly, but I am not fully sold on "LEGENDS", etc. One alternative I could...
@mtennekes -- maybe a solution could be to (as for color palettes) have a minus sign operator, e.g., `tm_components("tm_legend", position = tm_pos_out("left", "center"))` -- legend only, but `tm_components("-tm_legend", position =...
@mtennekes looks good!
> > Working now. Please test: > > tm + > > tm_components("hpi", position = tm_pos_out("right", "center")) + > > tm_components("tm_legend", position = tm_pos_out("left", "center")) + > > tm_components(position =...
> I'm struggling a bit to understand what belongs to `tm_layout` and what should be in `tm_components`... Since both functions affect the general layout of the map, I find it...
Regarding the position of the legend: you could do `, position = tm_pos_out("center", "bottom", "center")`.
Thanks @Aditya-Dahiya -- I agree that the improvement is needed. One thing that still bothers me, though, is the generalization of the proposed approach. It will only work on projected...
@bczernecki reprex: ```r # install.packages("climate") library(climate) h2022 = hydro_imgw_monthly(2022) h2023 = hydro_imgw_monthly(2023) ```
Closing for now -- if the problem persist or any of you have any ideas why it happens, please let us know.