qt4_to_mpl_color

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

Convert a QColor object into a string that matplotlib understands

Note: This ignores opacity

Parameters:

qcolor : QColor

The Qt color

Returns:

color : str

A hex string describing that color