epezent / implot

Immediate Mode Plotting
MIT License
4.65k stars 517 forks source link

If NaN data in heatmap, it causes assertion at searching the color data. #377

Open KiyonoriKami opened 2 years ago

KiyonoriKami commented 2 years ago

When NaN is present in the heatmap data, it raises an assertion at RectInfo operator()(I idx). How can I turn the NaN data into a specified color, e.g., black or red?