- Matplotlib 3.0 Cookbook
- Srinivasa Rao Poladi
- 40字
- 2021-08-13 15:15:47
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:
.