The theme created by this function shows nothing but the plot panel. Since ggplot2 now provides theme_void, which serves the same purpose, this function is now just a wrapper around theme_void.
theme_void
theme_nothing(base_size = 14, base_family = "")
Overall font size. Default is 14.
Base font family.
The theme.
# NOT RUN { qplot(1:10, (1:10)^2) + theme_nothing() # }
Run the code above in your browser using DataCamp Workspace