def _get_orig_and_new_clims(input_dtype):
    new_clim = (0.3, 0.8)
    max_val = _max_for_dtype(input_dtype)
    if np.issubdtype(input_dtype, np.integer):
        new_clim = (int((new_clim[0] * max_val)), int((new_clim[1] * max_val)))
    return ((0, max_val), new_clim)
def _get_orig_and_new_clims(input_dtype):
    new_clim = (0.3, 0.8)
    max_val = _max_for_dtype(input_dtype)
    if np.issubdtype(input_dtype, np.integer):
        new_clim = (int((new_clim[0] * max_val)), int((new_clim[1] * max_val)))
    return ((0, max_val), new_clim)