The number of rows in 'specs' must be equal to 'rows'. Starting from the top, if start_cell='top-left', Indices of the outer list correspond to subplot grid rows Per subplot specifications of subplot type, row/column spanning, andĮx1: specs=] Specs: list of lists of dict or None (default None) Is desired in that space so that the titles are properly indexed. Title of each subplot as a list in row-major ordering.Įmpty strings ("") can be included in the list if no subplot title Subplot_titles: list of str or None (default None) Must beĪpplies to all rows (use 'specs' subplot-dependents spacing) Space between subplot rows in normalized plot coordinates. Vertical_spacing: float (default 0.3 / rows) Must beĪpplies to all columns (use 'specs' subplot-dependents spacing) Space between subplot columns in normalized plot coordinates. Horizontal_spacing: float (default 0.2 / cols) Grid mayĪlso be printed using the `Figure.print_grid()` method on the If True, prints a string representation of the plot grid. 'bottom-left': Subplots are numbererd with (1, 1) in the bottom 'top-left': Subplots are numbered with (1, 1) in the top Start_cell: 'bottom-left' or 'top-left' (default 'top-left')Ĭhoose the starting cell in the subplot grid used to set the True or 'rows': Share axes among subplots in the same row 'columns': Share axes among subplots in the same column Shared_yaxes: boolean or str (default False)Īssign shared (linked) y-axes for 2D cartesian subplots 'all': Share axes across all subplots in the grid. 'rows': Share axes among subplots in the same row True or 'columns': Share axes among subplots in the same column Shared_xaxes: boolean or str (default False)Īssign shared (linked) x-axes for 2D cartesian subplots Return an instance of aph_objs.Figure with predefined subplots Make_subplots(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) -> aph_objs._figure.Figure Help on function make_subplots in module plotly.subplots: Here is an example that creates and populates a 2 x 2 subplot grid containing 4 different subplot types. "bar", "scattergeo", "carpet", "mesh", etc.) which will be used to determine the appropriate subplot type for that trace. "domain": Subplot type for traces that are individually positioned."mapbox": Mapbox subplot for scattermapbox."ternary": Ternary subplot for scatterternary.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |