FancyScaleDraw

Inheritance diagram of FancyScaleDraw
class FancyScaleDraw(format=None, palette=None)[source]

Bases: PyQt4.Qwt5.Qwt.QwtScaleDraw

This is a scaleDraw with a tuneable palette and label formats

draw(painter, palette)[source]
getLabelFormat()[source]

pass a format string (e.g. “%g”) or None to use default (it uses the locale)

getPalette()[source]
label(val)[source]
setLabelFormat(format)[source]

pass a format string (e.g. “%g”) or None to use default (it uses the locale)

setPalette(palette)[source]

pass a QPalette or None to use default