Helper function for extracting legend from a plot
Source:R/universal_report_functions.R
get_legend.Rd
get_legend
takes a ggplot object and returns the legend grob
Author
Bart Huntley, bart.huntley@dbca.wa.gov.au
For more details see https://dbca-wa.github.io/rivRmon/index.html the rivRmon website