Return an instance of plotly.graph_objs.Figure with predefined subplots configured in 'layout'. Parameters ---------- rows: int (default 1) Number of rows in the subplot grid. Must be greater than zero. cols: int (default 1) Number of columns in the subplot
(
rows=1,
cols=1,
shared_xaxes=False,
shared_yaxes=False,
start_cell="top-left",
print_grid=False,
horizontal_spacing=None,
vertical_spacing=None,
subplot_titles=None,
column_widths=None,
row_heights=None,
specs=None,
insets=None,
column_titles=None,
row_titles=None,
x_title=None,
y_title=None,
figure=None,
**kwargs,
)
| 4 | |
| 5 | |
| 6 | def make_subplots( |
| 7 | rows=1, |
| 8 | cols=1, |
| 9 | shared_xaxes=False, |
| 10 | shared_yaxes=False, |
| 11 | start_cell="top-left", |
| 12 | print_grid=False, |
| 13 | horizontal_spacing=None, |
| 14 | vertical_spacing=None, |
| 15 | subplot_titles=None, |
| 16 | column_widths=None, |
| 17 | row_heights=None, |
| 18 | specs=None, |
| 19 | insets=None, |
| 20 | column_titles=None, |
| 21 | row_titles=None, |
| 22 | x_title=None, |
| 23 | y_title=None, |
| 24 | figure=None, |
| 25 | **kwargs, |
| 26 | ) -> go.Figure: |
| 27 | """ |
| 28 | Return an instance of plotly.graph_objs.Figure with predefined subplots |
| 29 | configured in 'layout'. |
| 30 | |
| 31 | Parameters |
| 32 | ---------- |
| 33 | rows: int (default 1) |
| 34 | Number of rows in the subplot grid. Must be greater than zero. |
| 35 | |
| 36 | cols: int (default 1) |
| 37 | Number of columns in the subplot grid. Must be greater than zero. |
| 38 | |
| 39 | shared_xaxes: boolean or str (default False) |
| 40 | Assign shared (linked) x-axes for 2D cartesian subplots |
| 41 | |
| 42 | - True or 'columns': Share axes among subplots in the same column |
| 43 | - 'rows': Share axes among subplots in the same row |
| 44 | - 'all': Share axes across all subplots in the grid. |
| 45 | |
| 46 | shared_yaxes: boolean or str (default False) |
| 47 | Assign shared (linked) y-axes for 2D cartesian subplots |
| 48 | |
| 49 | - 'columns': Share axes among subplots in the same column |
| 50 | - True or 'rows': Share axes among subplots in the same row |
| 51 | - 'all': Share axes across all subplots in the grid. |
| 52 | |
| 53 | start_cell: 'bottom-left' or 'top-left' (default 'top-left') |
| 54 | Choose the starting cell in the subplot grid used to set the |
| 55 | domains_grid of the subplots. |
| 56 | |
| 57 | - 'top-left': Subplots are numbered with (1, 1) in the top |
| 58 | left corner |
| 59 | - 'bottom-left': Subplots are numbererd with (1, 1) in the bottom |
| 60 | left corner |
| 61 | |
| 62 | print_grid: boolean (default False): |
| 63 | If True, prints a string representation of the plot grid. Grid may |
no outgoing calls