plt.rcParams vs mpl.rcParams

In general I agree with avoiding the state-based stuff in pyplot. But most of the time I can get away with just import matplotlib.pyplot as plt so plt.rcParams is pretty convenient. I’d be sad to see it go.

1 Like