NEWS.md

gglaplot 1.1.0

Changes relate to new functionality in ggplot2 3.3 and new functions to apply gglaplot style to plotly plots. The package now depends on ggplot2 v3.3.

New features

Major changes

Bug fixes

gglaplot 1.0.0

The majority of the changes relate to updates to the underlying style guide, further details and advice can be found here, and updates to ggplot2. The package now depends on ggplot2 v3.2.

Theme changes

Colour changes

The colours (both names and values) have been changed to match the new version of the style guide. See gla_colours, gla_default and gla_inverse for all the details of the new colours used by the themes and palettes.

Palette changes

The available palettes and the colours underlying them have changed, which has necessitated some changes in the gla_pal() function.

gla_pal() now uses the chroma function interp_scale instead of grDevices::colorRampPalette. The original chroma package is available from github here and is designed to emulate the chroma.js javascript library. gglaplot uses a forked version of this repo that includes the option to correct the lightness scale of a palette. This version will be installed automatically when the package is updated/installed.

Plot function and geometric object changes:

gglaplot 0.0.0.9000



Greater-London-Authority/gglaplot documentation built on Dec. 28, 2021, 8:27 p.m.