Skip to content

Commit

Permalink
Fix RX3D test (#2676)
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran authored Jan 19, 2024
1 parent c164100 commit d59d458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/lib/python/neuron/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ def _get_color(variable, val, cmap, lo, hi, val_range):
elif val > hi:
col = color_to_hex(cmap(255))
else:
val = color_to_hex(128)
col = color_to_hex(cmap(128))
else:
col = color_to_hex(
cmap(int(255 * (min(max(val, lo), hi) - lo) / (val_range)))
Expand Down

0 comments on commit d59d458

Please sign in to comment.