Customize Rc
I'm not trying to make a good-looking figure here, but just to show
some examples of customizing rcParams on the fly.
If you like to work interactively, and need to create different sets of defaults for figures (e.g., one set of defaults for publication, one set for interactive exploration), you may want to define some functions in a custom module that set the defaults, e.g.,:
def set_pub():
rcParams.update({
"font.weight": "bold", # bold fonts
"tick.labelsize": 15
