- edited description
Colorbar unable to add value/color once only one item left
Issue #26
resolved
When number of value-color pairs reduce to one, it can no longer add more value-color pairs. See error message:
File "D:\_Geothermal\Apps\neoMulgraph\mulview\source\timgui\colorbar_and_scale.py", line 128, in _resetColor
old_color_value_scale = [0.0+(1.0/float(len(colors)-1))*i for i in range(len(colors))] ZeroDivisionError: float division by zero
Comments (4)
-
reporter -
reporter -
assigned issue to
-
assigned issue to
-
reporter It also appears to stop the saved colorbar loaded back into TIM.
-
reporter - changed status to resolved
Fix Issue
#26colorbar unable to operate when falsely reduced to length 1 or lower. This is a temporary fix, color bar control needs to be overhauled.→ <<cset cdaaa0d73f59>>
- Log in to comment