Get padding for ``constrained_layout``. Returns a list of ``w_pad, h_pad`` in inches and ``wspace`` and ``hspace`` as fractions of the subplot. See :ref:`constrainedlayout_guide`. Parameters ---------- relative : bool If `True`,
(self, relative=False)
| 2372 | return self._parent.get_constrained_layout() |
| 2373 | |
| 2374 | def get_constrained_layout_pads(self, relative=False): |
| 2375 | """ |
| 2376 | Get padding for ``constrained_layout``. |
| 2377 | |
| 2378 | Returns a list of ``w_pad, h_pad`` in inches and |
| 2379 | ``wspace`` and ``hspace`` as fractions of the subplot. |
| 2380 | |
| 2381 | See :ref:`constrainedlayout_guide`. |
| 2382 | |
| 2383 | Parameters |
| 2384 | ---------- |
| 2385 | relative : bool |
| 2386 | If `True`, then convert from inches to figure relative. |
| 2387 | """ |
| 2388 | return self._parent.get_constrained_layout_pads(relative=relative) |
| 2389 | |
| 2390 | def get_layout_engine(self): |
| 2391 | return self._parent.get_layout_engine() |
nothing calls this directly
no test coverage detected