Closed stefanhahmann closed 3 months ago
This PR contains a change so that the function autoscale in Preferences > Feature Color Modes also works for Features that contain NaN values.
autoscale
Preferences > Feature Color Modes
NaN
The current situation is that pressing autoscale for such features results in non usuable (and even non manually changeable) values, cf.:
This PR lets the DefaultFeatureRangeCalculator ignore NaN values so that the expected min and max values are returned.
DefaultFeatureRangeCalculator
The PR contains a unit test to demonstrate the behaviour of DefaultFeatureRangeCalculator
This PR contains a change so that the function
autoscale
inPreferences > Feature Color Modes
also works for Features that containNaN
values.The current situation is that pressing
autoscale
for such features results in non usuable (and even non manually changeable) values, cf.:This PR lets the
DefaultFeatureRangeCalculator
ignoreNaN
values so that the expected min and max values are returned.The PR contains a unit test to demonstrate the behaviour of
DefaultFeatureRangeCalculator