plotly / dash-slicer

A volume slicer for Dash
https://dash.plotly.com/slicer
MIT License
24 stars 8 forks source link

Add a Plotly Express colormap to threshold overlay #57

Closed rafmudaf closed 1 year ago

rafmudaf commented 2 years ago

No need to merge, just want to show you some code.

This pull request modified the existing example threshold_overlay to use a full colormap rather than only two colors. In fact, it allows for using a colormap of any length of colors and splits the data evenly across all colors.

This is in response to issue #56.