shade_pointsο
- set_shape.shade_points(aggregator=None, shade_hook=None, agg_hook=None)ο
Shade the data as infinitesimal points (>> usable for very large datasets!).
This function is based on the functionalities of datashader.mpl_ext.dsshow provided by the matplotlib-extension for βdatashaderβ.
- Parameters:
aggregator (Reduction, optional) β The reduction to compute per-pixel. The default is ds.mean(βvalβ) where βvalβ represents the data-values.
shade_hook (callable, optional) β A callable that takes the image output of the shading pipeline, and returns another Image object. See dynspread() and spread() for examples. The default is partial(ds.tf.dynspread, max_px=50).
agg_hook (callable, optional) β A callable that takes the computed aggregate as an argument, and returns another aggregate. This can be used to do preprocessing before the aggregate is converted to an image. The default is None.