ggplot_build takes the plot object, and performs all steps necessary
to produce an object that can be rendered. This function outputs two pieces:
a list of data frames (one for each layer), and a panel object, which
contain all information about axis limits, breaks etc.
1 2 3 4 5 6 7
layer_scales are helper
functions that returns the data, grob, or scales associated with a given
layer. These are useful for tests.