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

Method _tight_layout

lib/matplotlib/backends/backend_qt.py:1061–1067  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1059 self._figure.canvas.draw_idle()
1060
1061 def _tight_layout(self):
1062 self._figure.tight_layout()
1063 for attr, spinbox in self._spinboxes.items():
1064 spinbox.blockSignals(True)
1065 spinbox.setValue(getattr(self._figure.subplotpars, attr))
1066 spinbox.blockSignals(False)
1067 self._figure.canvas.draw_idle()
1068
1069 def _reset(self):
1070 for spinbox, value in self._defaults.items():

Callers

nothing calls this directly

Calls 2

tight_layoutMethod · 0.45
draw_idleMethod · 0.45

Tested by

no test coverage detected