Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. You can use sharex or sharey to align the horizontal or vertical axis. Setting sharex or sharey to True enables global sharing across the whole grid, i.e. also the y-axes of vertically stacked subplots have the same scale when using sharey=True. For subplots that are sharing axes one set of tick labels is enough.

  2. A simple way to create figures and a grid of Axes, with the added flexibility that Axes can also span rows or columns. The Axes are returned in a labelled dictionary instead of an array. See also Figure.subplot_mosaic and Complex and semantic figure composition (subplot_mosaic).

  3. 3 Μαρ 2014 · axis{index (0), columns (1)} Axis for the function to be applied on. For Series this parameter is unused and defaults to 0. For DataFrames, specifying axis=None will apply the aggregation across both axes.

  4. For fig, axs = plt.subplot_mosaic([['left', 'right'], ['bottom', 'bottom']]), axs['left'] is an Axes in the top row on the left, and axs['bottom'] is an Axes that spans both columns on the bottom. See Arranging multiple Axes in a Figure for more detail on how to arrange grids of Axes on a Figure.

  5. Conditional small multiples # The FacetGrid class is useful when you want to visualize the distribution of a variable or the relationship between multiple variables separately within subsets of your dataset. A FacetGrid can be drawn with up to three dimensions: row, col, and hue.

  6. Here we'll create a $2 \times 3$ grid of subplots, where all axes in the same row share their y-axis scale, and all axes in the same column share their x-axis scale: In [6]: fig , ax = plt . subplots ( 2 , 3 , sharex = 'col' , sharey = 'row' )

  7. A two-level categorical axis (also known as grouped or hierarchical categories, or sub-categories) can be created by specifying a trace's x or y property as a 2-dimensional lists. The first sublist represents the outer categorical value while the second sublist represents the inner categorical value.

  1. Γίνεται επίσης αναζήτηση για