Transcript#
This transcript was generated automatically and may contain errors.
If you create a ggplot without specifying any unique aesthetics or a theme, you'll notice the package still makes some choices for you. Ever wonder what those choices are? Because each geom has a different set of default aesthetics, and you might be surprised to find out that they're almost all based on the source code for a specific theme that you haven't even applied.
Theme underscore gray. Theme gray is the default in ggplot2, even if you don't select it. And its source code holds all the secrets to why your geoms look the way they do by default, like why geom point defaults to shape 19, that little filled-in circle. Of course, if you do specify your theme, you change some of those defaults, so now they're based on your specified theme.
Theme gray is the default in ggplot2, even if you don't select it. And its source code holds all the secrets to why your geoms look the way they do by default.
So, have you checked out the ggplot2 source code lately? And what's your favorite ggplot2 theme?
