This layout engine does not adjust the figure layout at all. The purpose of this `.LayoutEngine` is to act as a placeholder when the user removes a layout engine to ensure an incompatible `.LayoutEngine` cannot be set later. Parameters ---------- adjust_compatible, colorba
| 109 | |
| 110 | |
| 111 | class PlaceHolderLayoutEngine(LayoutEngine): |
| 112 | """ |
| 113 | This layout engine does not adjust the figure layout at all. |
| 114 | |
| 115 | The purpose of this `.LayoutEngine` is to act as a placeholder when the user removes |
| 116 | a layout engine to ensure an incompatible `.LayoutEngine` cannot be set later. |
| 117 | |
| 118 | Parameters |
| 119 | ---------- |
| 120 | adjust_compatible, colorbar_gridspec : bool |
| 121 | Allow the PlaceHolderLayoutEngine to mirror the behavior of whatever |
| 122 | layout engine it is replacing. |
| 123 | |
| 124 | """ |
| 125 | def __init__(self, adjust_compatible, colorbar_gridspec, **kwargs): |
| 126 | self._adjust_compatible = adjust_compatible |
| 127 | self._colorbar_gridspec = colorbar_gridspec |
| 128 | super().__init__(**kwargs) |
| 129 | |
| 130 | def execute(self, fig): |
| 131 | """ |
| 132 | Do nothing. |
| 133 | """ |
| 134 | return |
| 135 | |
| 136 | |
| 137 | class TightLayoutEngine(LayoutEngine): |
no outgoing calls
no test coverage detected
searching dependent graphs…