Calculate limits for a group of arrays in a flexible manner.
Returns a dictionary of calculated (vmin, vmax), with the same keys as array_dict.
Useful for plotting heatmaps of multiple datasets, and the vmin/vmax values of the colormaps need to be matched across all (or a subset) of heatmaps.
Parameters: | array_dict : dict of np.arrays method : {‘global’, ‘independent’, callable}
percentiles : None or list
|
---|