mvl_regular_layout
- mvl_regular_layout(view, page_columns, page_rows, subpage_columns, subpage_rows[, plot_area])
Creates a list of
plot_page()objets arranged in a regular grid (defined bypage_columnsandpage_rows) using the specifiedview.- Parameters
view (
Request) – the view that each plot grid cell will containpage_columns (number) – number of columns in the grid
page_rows (number) – number of rows in the grid
subpage_columns (number) – number of columns within a
plot_page()subpage_rows (number) – number of rows within a
plot_page()plot_area (list) – the plot area the layout occupies in the parent
plot_superpage()in [top, bottom, left, right] format. The full plot area is defined as [0, 100, 0, 100].
- Return type
list
On top of the main layout grid, each
plot_page()grid cell contains a set of (one or more)plot_subpage()objects, each arranged in a regular grid (defined bysubpage_columnsandsubpage_rows). The output is suitable for input toplot_superpage(). Whenplot_areais specified it defines the plot area the layout will occupy in the output. It is given as a list of [TOP, BOTTOM, LEFT, RIGHT] where the values are specified in percentages (0-100).