Closed samverstocken closed 5 years ago
@samverstocken - just to check, are you suggesting we change the default functions? Currently it's already acceptable to set vmin/vmax
to either scalars or functions. Maybe this should be documented in the README though, with an example like the one you have.
@astrofrog I'm sorry, I did not realize these functions could also just be passed to the vmin and vmax arguments
I propose a small change, where the constructor of the GenericDensityArtist accepts the 'density_vmin', and 'density_vmax' arguments. These then set:
they have the default values of np.nanmin and np.nanmax, as is hardcoded at the moment.
I, for example, pass the following values for vmin and vmax:
where:
I did this because some datasets were invisible with the standard min and max interval, perhaps because of outliers in the density.