get_figure

Contents

get_figure#

class braintools.visualize.get_figure(row_num, col_num, row_len=3, col_len=6)#

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