brainpy.visualization.get_figure

brainpy.visualization.get_figure(row_num, col_num, row_len=3, col_len=6)[source]

Get the constrained_layout figure.

Parameters
  • row_num (int) – The row number of the figure.

  • col_num (int) – The column number of the figure.

  • row_len (int, float) – The length of each row.

  • col_len (int, float) – The length of each column.

Returns

fig_and_gs – Figure and GridSpec.

Return type

tuple