• fix the spacing in the new slide template
  • create new template with a narrower chart area to align more with reports
  • add paulify_classifications to grattantheme
  • update the read me
  • correct the order of the colours
  • update grattan_orange to the new colour again??
  • clean readme
  • update grattan_orange to the new colour

Colours

  • deprecate grattan_fill_manual and grattan_fill_manual in favour of a different implementation of scale_fill_manual and scale_colour_manual
  • set default geoms on load
  • change colours from being called as data and rather being called as objects
  • creates a base colour and uses grDevices::colorRampPalette to make the lighter/darker permutations
  • deprecates grattan_pal in favour of make_grattan_pal and make_grattan_pal_discrete

Chart templates

  • deprecate create_pptx_shell and create_slide_shell as officer now offers functionality to edit notes directly
  • makes the caption a text box and placeholder for easier editing
  • includes the template for the new theme
  • updates the older templates for better caption management
  • removes the helvetica font choice as arial is now the standard font choice

Clean up

  • delete make_slide as it was deprecated
  • rename chart_helper.R to chart_helpers.R
  • delete deprecated chart templates
  • simplifies grattan_arrow test as it was failing
  • fix the slide template so slide number stops appearing in the top right hand corner when copying slides across decks
  • add check_chart_aspect_ratio to help with checking charts are formatted correctly
  • adds colour_text to help with ggtext colouring
  • Fixed bug that prevented saving chartdata of maps made with sf
  • add A4 save option, eg grattan_save("plot.pdf", type = "a4")
  • blue added to palette
  • 8 tint (fade) options added to palette
  • deprecated some export formats
  • path behaviour of export_latex_code() changed
  • When your chart has no subtitle, the chart will not leave space for it
  • grattan_point_filled() added
  • Old-style (‘Frankenstein’) 16:9 chart now available
  • Explicit checking of font types when constructing Powerpoint slides
  • chart_types data frame is now exported, for contexts where it is useful to have information about the chart types in the grattantheme package.
  • “blog_half” chart type now available. Main use is Powerpoint slides where you want the chart to take up half the slide.
  • Title and subtitle in patchwork plots now recognised by create_fullslide() and related functions.
  • Error in ‘blog’ PPTX template fixed.
  • A range of additional chart types are now able to be saved as Powerpoint files with grattan_save_pptx(), including ‘blog’, ‘fullpage’, ‘normal’, ‘wholecolumn’.
  • New function grattan_save_pptx() saves a ggplot2 plot, or a list of plots, as a Powerpoint document with vector graphics and editable labels.
  • grattan_save() gains an argument: save_pptx. When TRUE, it will use grattan_save_pptx() to also save your image as a Powerpoint document.
  • Functions make_slide() and make_presentation() have been deprecated.
  • In grattan_save(), save_data no longer automatically TRUE if type = "all"
  • fullslide_169 animations now possible
  • Title and caption now aligned with left of plot
  • ggplot 3.3.0 now required
  • Default panel spacing expanded
  • theme_grattan() has been rewritten and is now a complete theme
  • theme_grattan() has gained a new chart_type argument; can be set to “scatter” to format scatterplots nicely.
  • Minor revisions to reflect changes in ggplot2
  • Bug fixes and improvements to save_chartdata() function
  • Charts without a subtitle that are saved as “fullslide” or similar will now vertically expand the plot to fill the space of the absent subtitle
  • save_chartdata() function added
  • New ‘faded’ versions of the Grattan palette available
  • grattan_anim_save() allows users to save gganimate animations formatted in the Grattan style
  • theme_grattan() gains a panel_borders argument
  • Minor visual fixes to fullslide charts
  • More testing of functions to ensure style guide-compatibility
  • stitch_pdfs() function is now hard-deprecated
  • New “blog” type available with grattan_save()
  • Users can now manually specify height of figures, overriding defaults
  • New palettes options added
  • Left and white plot margins reduced
  • stitch_pdfs() function is now deprecated
  • grattan_save() now accepts additional arguments … to pass to ggsave()
  • Warnings about labels are no longer displayed when using grattan_save(type = “all”)
  • fullslide charts are now quicker to save, and don’t print chart elements
  • Vertical alignment of subtitles in fullslide charts fixed, to ensure appropriate whitespace between subtitle and plot
  • make_presentation() now includes the chart title, subtitle, and caption in .pptx notes
  • Grattan-ish Word template now included for use with redoc/Rmarkdown
  • fixes bug in create_fullslide() introduced with ggplot 3.2.0
  • New make_presentation() function takes a list of graphs and creates a .pptx presentation with multiple slides
  • grattan_save() accepts type=“all”, which will save your graph in all available types
  • Bugs fixed
  • New make_slide() function creates a .pptx slide with an embedded Grattan-y graph
  • Labels now wrap nicely for various graph types
  • New stitch_pdfs() function allows you to combine multiple pdfs into one; useful for creating a chart pack from multiple charts saved with grattan_save()
  • grattan_pal now copes with n up to 9
  • More geoms are now updated by default to make them Grattan-y
  • grattan_save() now has more save types, including fullslide_169 and fullslide_44