config_matplotlib#
- deepinv.utils.plotting.config_matplotlib(fontsize=17)[source]#
Config matplotlib for nice plots in the examples.
Note
This function mutates the global
matplotlib.rcParams. Prefer using the plotting helpers (deepinv.utils.plot(),deepinv.utils.scatter_plot(), etc.) directly, which scope the style change to the function call viamatplotlib.pyplot.rc_context()and restore the original rcParams automatically.