- Export
number_hdx()
to provide users simple access to number formatting outside the labeling use case.
- Implement
label_number_hdx()
function to improve numeric scales labeling to match the data visualization guidelines. - Switch develop continuous
NA
fill value to be"transparent"
so it appears better when plotting continuous rasters. - Check installed
{ggplot2}
version to pass thescale_name
argument to remove warnings and errors.
- Use anonymous function format
function()
inhdx_display_pal()
. - Add
gghdx_reset()
andggplot2_geom_defaults()
functions to allow user to remove all defaults set bygghdx()
. - Improve
load_source_sans_3()
so local installations of Source Sans 3 are used when an internet connection is unavailable. - Update tests to not break with release of
{ggplot2}
3.5.0.
- Switched base font family from Source Sans Pro to Source Sans 3.
- Fixed links flagged in CRAN checks.
- Revamped all documentation for clarity and ensuring return values and examples are provided, based on CRAN review.
- First CRAN release, as we have reached some stability!
- Right adjusting y-axis labels in
theme_hdx()
. - Replace deprecated
size
argument fromggplot2
calls. - Move
ultra-light
colors to end ofhdx_pal()
discrete palette. - Make output of
hdx_hex()
unnamed to avoid errors inggplot2
and allow both grey and gray spellings of colors. - Change
..._gradient_...
scale functions to havewhite
as the low color. - Add
display_hdx_pal()
function to allow visualizing the HDX color palettes. - Improved error catching when fonts are not available.
- Added gray color palette,
hdx_pal_gray()
.
- Cleaned
df_covid
for consistent days between dates on x-axis plots. - Changed
NA
colors from white to gray.
- Added a
NEWS.md
file to track changes to the package. - Implemented
scale_fill...()
andscale_color_...()
functions for easy application of HDX palette to aesthetics andhdx_colors()
,hdx_pal()
, andhdx_hex()
for user access. - Released
theme_hdx()
. - Added
gghdx()
to apply session level defaults for plotting. - Developed default text plotting through
geom_text_hdx()
andgeom_label_hdx()
. - Built vignette and main README.md.