File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 55`~.LayoutEngine` defined here (or *None* for no layout). At draw time
66``figure.get_layout_engine().execute()`` is called, the goal of which is
77usually to rearrange Axes on the figure to produce a pleasing layout. This is
8- like a ``draw`` callback, however when printing we disable the layout engine
9- for the final draw and it is useful to know the layout engine while the figure
10- is being created, in particular to deal with colorbars.
8+ like a ``draw`` callback but with two differences. First, when printing we
9+ disable the layout engine for the final draw. Second, it is useful to know the
10+ layout engine while the figure is being created. In particular, colorbars are
11+ made differently with different layout engines (for historical reasons).
1112
1213Matplotlib supplies two layout engines, `.TightLayoutEngine` and
1314`.ConstrainedLayoutEngine`. Third parties can create their own layout engine
You can’t perform that action at this time.
0 commit comments