Custom Types#
Currently there are two custom types you can encounter in this documentation:
ColorType#
Any argument that can be used to make a color:
str: A hex code, or the name of a color. todo: list allowed colors.tuple: An RGB or RGBA tuple containing 3 or 4 floats between 0 and 1.float: A single float represents a grayscale value, where0.0corresponds to black and1.0corresponds to white.int: One of 8 presets.0is red,1is orange, and so on.mkColor: A color object from the pyqtgraph library.QColor: A color object from the PySide6 library.
ColorsType#
A possibly nested list containing any of the values accepted by ColorType. Also accepts a single ColorType value.