qt_to_mpl_color

glue.utils.qt.qt_to_mpl_color(qcolor)[source]

Convert a QColor object into a string that matplotlib understands

Note: This ignores opacity

Parameters
qcolorQColor

The Qt color

Returns
colorstr

A hex string describing that color