sdr.plot.use_style()

Applies sdr’s default matplotlib rcParams.

These style settings may be reverted with matplotlib.pyplot.rcdefaults().

Examples

The following rcParams are applied.

In [1]: sdr.plot._rc_params.RC_PARAMS
Out[1]: 
{'lines.linewidth': 1,
 'axes.grid': True,
 'axes.grid.which': 'both',
 'figure.constrained_layout.use': True,
 'figure.constrained_layout.h_pad': 0.1,
 'figure.constrained_layout.w_pad': 0.1,
 'figure.figsize': (8, 4),
 'figure.max_open_warning': 0,
 'figure.titleweight': 'bold',
 'grid.alpha': 0.8,
 'grid.linestyle': '--'}