MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / to_dict

Method to_dict

lib/matplotlib/gridspec.py:805–807  ·  view source on GitHub ↗

Return a copy of the subplot parameters as a dict.

(self)

Source from the content-addressed store, hash-verified

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."""
807 return self.__dict__.copy()

Callers 2

resetMethod · 0.95
test_clf_subplotparsFunction · 0.80

Calls 1

copyMethod · 0.45

Tested by 1

test_clf_subplotparsFunction · 0.64