Saving a copy of rcParams settings. 1

Saving a copy of rcParams settings.

IPython_default = plt.rcParams.copy()

Here is what the above code is Doing:
1. We’re setting the default figure size to be larger than the default.
2. We’re setting the default font size for our text to be larger than the default.
3. We’re setting the default style to be “ggplot”, which emulates the aesthetics of ggplot (a popular plotting package for R).

Similar Posts