matplotlib/viscm

Clicking "Show 3D gamut" button results in a TypeError

japagetw opened this issue · 0 comments

Windows 64-bit, Python 2.7 or Python 3.5 (Python 3.5 shown here):

c:\downloads>python -m viscm edit
Click sliders at bottom to change min/max lightness
Click on colorbar to adjust gamut view
Click-drag to move control points,
shift-click to add, control-click to delete
Exception in Tkinter callback
Traceback (most recent call last):
File "c:\python35\lib\tkinter_init_.py", line 1549, in call
return self.func(*args)
File "c:\python35\lib\site-packages\matplotlib\backends\backend_tkagg.py", line 423, in button_release_event
FigureCanvasBase.button_release_event(self, x, y, num, guiEvent=event)
File "c:\python35\lib\site-packages\matplotlib\backend_bases.py", line 1926, in button_release_event
self.callbacks.process(s, event)
File "c:\python35\lib\site-packages\matplotlib\cbook.py", line 562, in process
proxy(*args, **kwargs)
File "c:\python35\lib\site-packages\matplotlib\cbook.py", line 429, in call
return mtd(*args, **kwargs)
File "c:\python35\lib\site-packages\matplotlib\widgets.py", line 230, in _release
func(event)
File "c:\python35\lib\site-packages\viscm\gui.py", line 526, in plot_3d_gamut
self.highlight_point_model)
File "c:\python35\lib\site-packages\viscm\gui.py", line 785, in init
gamut_patch = sRGB_gamut_patch()
TypeError: sRGB_gamut_patch() missing 1 required positional argument: 'uniform_space'