FixedLabelsScaleDraw

Inheritance diagram of FixedLabelsScaleDraw
class FixedLabelsScaleDraw(positions, labels)[source]

Import from taurus.qt.qtgui.extra_guiqwt.scales as:

from taurus.qt.qtgui.extra_guiqwt.scales import FixedLabelsScaleDraw
label(val)[source]

Convert a value into its representing label

The value is converted to a plain text using QLocale().toString(value). This method is often overloaded by applications to have individual labels.

Parameters:

value (float) – Value

Returns:

Label string