-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
Thanks for implementing diverging colormaps (#4). I wanted to test it (using current master) and this is what python -m viscm -t diverging edit gives me. Maybe an issue with Qt API version?
Traceback (most recent call last):
File "/home/pierre/Programmes/anaconda3/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "/home/pierre/Programmes/anaconda3/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/pierre/Programmes/anaconda3/lib/python3.5/site-packages/viscm/__main__.py", line 8, in <module>
main(sys.argv[1:])
File "/home/pierre/Programmes/anaconda3/lib/python3.5/site-packages/viscm/gui.py", line 1029, in main
mainwindow = EditorWindow(figureCanvas, v)
File "/home/pierre/Programmes/anaconda3/lib/python3.5/site-packages/viscm/gui.py", line 1192, in __init__
metrics = QtWidgets.QFontMetrics(smoothness_slider_num.font())
AttributeError: module 'PyQt5.QtWidgets' has no attribute 'QFontMetrics'
(also I tested python -m viscm -t diverging-continuous edit which works, but I don't see a diverging luminance. Maybe the definition of diverging-continuous should be clarified.)
Metadata
Metadata
Assignees
Labels
No labels