marsilea.layout.CompositeCrossLayout#
- class CompositeCrossLayout(main_layout, margin=0, align_main=True)#
Bases:
_MarginMixinA class to layout multiple Cross Layouts
Warning
This class are not supposed to be used directly by user
- Parameters:
- main_layoutCrossLayout
The main cross layout
- add_legend_ax(side, size, pad=0.0)#
Extend the layout
This is used to draw legends after concatenation
- append(side, other)#
- figure = None#
- freeze(figure=None, scale=1, _debug=False)#
- get_ax(layout_name, ax_name)#
- get_bbox_height()#
- get_bbox_size()#
Get the minimum figsize that fits all layouts inside
- get_bbox_width()#
- get_figure_size()#
Figure size is bbox size + margin
- get_legend_ax()#
- get_main_anchor()#
- get_main_ax(layout_name)#
- get_side_size(side)#
Get the max extend of a side, the center is the main cell of the main layout, not the whole main layout legend axes included
- plot(scale=1)#
- set_anchor(anchor)#
- set_legend_size(size)#