diff --git a/DESCRIPTION b/DESCRIPTION index a72e1ef..80c3d5d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: visualizeR Type: Package Title: What a color! What a viz! -Version: 0.4.9000 +Version: 0.5.9000 Authors@R: c( person( 'Noblet', 'Guillaume', @@ -24,7 +24,6 @@ Imports: grDevices, glue, scales, - stringr, ggtext Suggests: knitr, sf, tmap VignetteBuilder: knitr diff --git a/NEWS.md b/NEWS.md index eb52999..1c505d7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,11 @@ +# visualizeR 0.5.9000 + +* Add wrapping of title, subtitle and caption thanks to `ggtext` +* Add wrapping of labels for `bar()` x-discrete scale. +* Add further parameters to `theme_reach()` + +--- + # visualizeR 0.4.9000 * Breaking changes: remove dependency to `ggblanket`. diff --git a/README.Rmd b/README.Rmd index 16cdf8e..72ea8c9 100644 --- a/README.Rmd +++ b/README.Rmd @@ -109,7 +109,7 @@ point(penguins, bill_length_mm, flipper_length_mm) point(penguins, bill_length_mm, flipper_length_mm, island, alpha = 0.6, size = 3, theme = theme_reach(reverse = TRUE)) # Using another color palettes -point(penguins, bill_length_mm, flipper_length_mm, island, size = 1.5, x_title = "Bill", y_title = "Flipper", title = "Length (mm)", theme = theme_reach(palette = "artichoke_3", text_font_face = , grid_x = T)) +point(penguins, bill_length_mm, flipper_length_mm, island, size = 1.5, x_title = "Bill", y_title = "Flipper", title = "Length (mm)", theme = theme_reach(palette = "artichoke_3", text_font_face = , grid_x = T, title_position_to_plot = FALSE)) ``` ## Maps diff --git a/README.md b/README.md index 79104a1..01231ad 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ point(penguins, bill_length_mm, flipper_length_mm, island, alpha = 0.6, size = 3 ``` r # Using another color palettes -point(penguins, bill_length_mm, flipper_length_mm, island, size = 1.5, x_title = "Bill", y_title = "Flipper", title = "Length (mm)", theme = theme_reach(palette = "artichoke_3", text_font_face = , grid_x = T)) +point(penguins, bill_length_mm, flipper_length_mm, island, size = 1.5, x_title = "Bill", y_title = "Flipper", title = "Length (mm)", theme = theme_reach(palette = "artichoke_3", text_font_face = , grid_x = T, title_position_to_plot = FALSE)) ``` diff --git a/docs/404.html b/docs/404.html index b309118..5eb2dff 100644 --- a/docs/404.html +++ b/docs/404.html @@ -31,7 +31,7 @@ visualizeR - 0.4.9000 + 0.5.9000