Skip to content

Commit 9363a79

Browse files
authored
Add support for setting indicator color (#29)
* Add support to assign a color to a slicer, and show indicators in that color * Update example * use traces instead of shapes to avoid overwriting layout.shapes * only draw at corners * Nicer default color? * Replace 'index' and 'pos' stores with 'state' store * Use D3 colormap, and tweak appearance of current-slice color hint * Rename variables in (internal) info object, for clarity * slicer indicators show visible range too * prevent unnecesary high res pulls * Show slicer views in 3D view, in one example * tweaks * fix example * limit state.xrange and state.yrange to the volume bounds * prevent camera reset * use actual plot size
1 parent 2c6eac5 commit 9363a79

File tree

4 files changed

+274
-151
lines changed

4 files changed

+274
-151
lines changed

0 commit comments

Comments
 (0)