qcodes.plots.colors

qcodes.plots.colors.make_rgba(colorscale)[source]
qcodes.plots.colors.one_rgba(c)[source]

convert a single color value to (r, g, b, a) input can be an rgb string ‘rgb(r,g,b)’, ‘#rrggbb’ if we decide we want more we can make more, but for now this is just to convert plotly colorscales to pyqtgraph tuples