Scale palettes from theme by teunbrand · Pull Request #5946 · tidyverse/ggplot2

This is a proof-of-concept PR for a part of #2239 and fix #4696. It explores setting scale palettes from the theme. When a scale has a NULL palette, the palette will be retrieved from the theme. In...