Currently you cannot easily define pass a range to the bounds or levels formatoption. There should be a possibility to specify something like bounds=slice(0, 1, 0.1) or bounds=slice(None, 1, 0.1).
Reason
The user does not have to specify the bounds manually.
Examples
see also
slice(None) should be the same as "minmax",
slice(None, 1) should take the minimum from minmax, the maximum is 1 and the step is 1
slice(None, 1, 0.1) should take the minimum from minmax, the maximum is 1 and the step is 0.1
slice(0, None, 0.1) should take the maximum from minmax, the minimum is 0 and the step is 0.1
slice(0, 1, 0.1) should be equivalent to np.arange(0, 1, 0.1)
Summary
Currently you cannot easily define pass a range to the
bounds
orlevels
formatoption. There should be a possibility to specify something likebounds=slice(0, 1, 0.1)
orbounds=slice(None, 1, 0.1)
.Reason
The user does not have to specify the bounds manually.
Examples
see also
slice(None)
should be the same as"minmax"
,slice(None, 1)
should take the minimum fromminmax
, the maximum is1
and the step is1
slice(None, 1, 0.1)
should take the minimum fromminmax
, the maximum is1
and the step is0.1
slice(0, None, 0.1)
should take the maximum fromminmax
, the minimum is0
and the step is0.1
slice(0, 1, 0.1)
should be equivalent tonp.arange(0, 1, 0.1)