Restore the subplot positioning parameters to the default rcParams values
(self)
| 798 | self.hspace = hspace |
| 799 | |
| 800 | def reset(self): |
| 801 | """Restore the subplot positioning parameters to the default rcParams values""" |
| 802 | for key in self.to_dict(): |
| 803 | setattr(self, key, mpl.rcParams[f'figure.subplot.{key}']) |
| 804 | |
| 805 | def to_dict(self): |
| 806 | """Return a copy of the subplot parameters as a dict.""" |