Skip to content

Commit 50246f8

Browse files
committed
Fix order of palette
1 parent da1f61a commit 50246f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panel/simdec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def create_color_pickers(states, colors):
185185
@pn.cache
186186
def palette(res, colors_picked):
187187
cmaps = [single_color_to_colormap(color_picked) for color_picked in colors_picked]
188-
return sd.palette(res.states, cmaps=cmaps)
188+
return sd.palette(res.states[::-1], cmaps=cmaps[::-1])
189189

190190

191191
@pn.cache

0 commit comments

Comments
 (0)