'Set one of the gradients defined in :class:`GradientEditorItem <pyqtgraph.graphicsItems.GradientEditorItem>`.
Currently available gradients are:'

@addGradientListToDocstring()
def setPredefinedGradient(self, name):

    self.ui.histogram.gradient.loadPreset(name)
