Closed vidonne closed 1 year ago
Hi @vidonne
It looks good to me, we just need to find a solution to not have the plot.background
outline either via its color
or linewidth
.
Finally took your approach of applying the plot_background
value to color
argument. This will avoid user confusion if they try to change the border color and we used the linewidth
argument they still won't see any border as the linewidth
would be 0.
Review of the
theme_unhcr
function:{ggplot2}
default{ggtext}
package for title, subtitle and captionImportant changes:
line_size
,rel_small
,rel_tiny
,rel_large
) and replaced by more specific argument likeplot_title_size
,plot_title_margin
, etc.{ggtext}
requires to use<br>
as a new line break instead of\n
, but add a lot of flexibility for styling and your text will automatically stay within the box and not overlap. Seeggtext::element_textbox_simple
for more information.theme_unhcr_map
function has been removed and replaced by thevoid
argument in thetheme_unhcr
function.tag
has been removed.tag
is still stylized the right way but we recommend you use yourRmd
orqmd
file to handle figure number.Will fix #23 and #21