glue.utils.qt.
cmap2pixmap
Convert a maplotlib colormap into a QPixmap
cmap : ~matplotlib.colors.Colormap
The colormap to use
steps : int
The number of color steps in the output. Default=50
pixmap : QPixmap
QPixmap
The QPixmap instance