- Matplotlib 3.0 Cookbook
- Srinivasa Rao Poladi
- 40字
- 2025-04-04 16:06:36
There's more...
You can reset all the parameters to their default values, using the rsdefaults() command, as shown in the following block:
# To restore all default parameters
matplotlib.rcdefaults()
plt.plot(x,y)
plt.show()
The graph will look as follows:
.