Skip to content

Plotter: Fix 0 depth heatmap issue

Sebastien Binet requested to merge jasonpfox:fix_0_depth_heatmap_issue into master

Created by: jasonpfox

Resolves #302 (closed) If a data set happens to have 0 depth (min==max) the color scaling calculations blow up to NaN due to a divide by 0. Catch this case to allow successfully returning a flat heatmap.

Merge request reports