panel.background
to plot.background
, fixing the plot background colorModifies theme_onsv
. Now this theme is based on ggplot2::theme_minimal
, with a few changes.
Fix missing grid coordinates in geom_sf
maps (#21)
Fix small legend key size when plotting continuous values (#22)
Fix title and subtitle position, font size, font color, and font weight (#23, #24)
scale_discrete_onsv
: ...
. Now it is possible to pass arguments to lower level ggplot2
functions, such as scale_discrete_manual
and discrete_scale
.install.packages("onsvplot")
.theme_onsv()
(#7): Now it is possible to change basesize
of the font used in the plotAdd two new parameters to theme_onsv()
(#3): plot.title.position = "plot"
and plot.caption.position = "plot"
.
Add bottom margin to title
element.
Updates the package name to onsvplot
. The obsplot
package already exists, therefore it was necessary to change the previous name. (#4)
Also, this version changes the function and object names:
theme_obs()
to theme_onsv()
scale_discrete_obs()
to scale_discrete_onsv()
obs_palette
to onsv_palette
obs_palette
not loading properly all 12 colors.scale_discrete_obs()
and obs_palette
, from 6 to 12. (#2)theme_obs()
(#1)