Maps.set_shape#
- class eomaps.eomaps.Maps.set_shape(m)#
Set the plot-shape to represent the data-points.
By default, “ellipses” is used for datasets smaller than 500k pixels and shading with “shade_raster” is used for larger datasets (if datashader is installed).
Possible shapes are: (check the individual docs for details!)
Projected ellipses
>>> m.set_shape.ellipses(radius, radius_crs)
Projected rectangles
>>> m.set_shape.rectangles(radius, radius_crs, mesh)
Projected geodetic circles
>>> m.set_shape.geod_circles(radius)
Voronoi diagram
>>> m.set_shape.voronoi_diagram(masked, mask_radius)
Delaunay triangulation
>>> m.set_shape.delaunay_triangulation(masked, mask_radius, mask_radius_crs, flat)
Point-based shading
>>> m.set_shape.shade_points(aggregator, shade_hook, agg_hook)
Raster-based shading
>>> m.set_shape.delaunay_triangulation(aggregator, shade_hook, agg_hook)
- _radius_estimation_range#
The number of datapoints to use for estimating the radius of a shape. (only relevant if the radius is not specified explicitly.) The default is 100000
- Type:
int
Members
Draw a contour-plot of the data. |
|
Draw a Delaunay-Triangulation of the data. |
|
Draw projected ellipses with dimensions defined in units of a given crs. |
|
Draw geodesic circles with a radius defined in meters. |
|
Draw a 2D hexagonal binning plot of the data. |
|
Draw the data as a rectangular raster (>> usable for very large datasets!) |
|
Draw projected rectangles with fixed dimensions (and possibly curved edges). |
|
Draw each datapoint as a shape with a size defined in points**2. |
|
Shade the data as infinitesimal points (>> usable for very large datasets!). |
|
Shade the data as a rectangular raster (>> usable for very large datasets!). |
|
Draw a Spherical Voronoi-Diagram of the data. |
|
Draw a Voronoi-Diagram of the data. |