Description of the desired feature:
This function would be the equivalent of maxabs but to use for datasets not diverging around 0. For example, for plotting topography data, you may want to get the max and min values of the grid to create a colormap. Similar to #524, I propose allowing passing a tuple of 2 percentiles, so users can get more robust values, such as the 2% and 98% percentiles of the data, instead of the min and max, to help colorbars be less sensitive to outliers.
Are you willing to help implement and maintain this feature?
Yes, I will open a PR.