rectanglesο
- set_shape.rectangles(radius='estimate', radius_crs='in', mesh=False, n=None)ο
Draw projected rectangles with fixed dimensions (and possibly curved edges).
- Parameters:
radius (int, float, tuple or str, optional) β
The radius in x- and y- direction. The default is βestimateβ in which case the radius is attempted to be estimated from the input-coordinates.
If you provide an array of sizes, each datapoint will be drawn with the respective size!
radius_crs (crs-specification, optional) β The crs in which the dimensions are defined. The default is βinβ.
mesh (bool) β
Indicator if polygons (False) or a triangular mesh (True) should be plotted.
Using polygons allows setting edgecolors, using a triangular mesh does NOT allow setting edgecolors but it has the advantage that boundaries between neighbouring rectangles are not visible. Only n=1 is currently supported!
n (int or None) β The number of intermediate points to calculate on the rectangle edges (e.g. to properly plot βcurvedβ rectangles in projected crs) Use n=1 to force rectangles! If None, 40 is used for <10k datapoints and 10 is used otherwise. The default is None