6.1.1.3.1.21. thyrsis.gui.zns_scene module

class thyrsis.gui.zns_scene.ZnsScene(uri, parent=None)

Bases: PyQt5.QtWidgets.QGraphicsScene

Scene displaying unsaturated column

colorLegend()

Get legend attributes

Returns

Return type

dataProvider()

Get dataProvider attributes

Returns

Return type

empty()

Get empty attributes

Returns

empty/not empty ZNS state

Return type

bool

glMesh()

Get glMesh attributes

Returns

Return type

maskUnits(flag)

Hide/show units

Parameters

flag (bool) – flag to mask or not units

setAutoUpdateMinMax(flag)

Set automatic scale update

Parameters

flag (bool) – flag to mask or not units

set_legend_placement(placement)

Set the legend position and refresh display

Parameters

placement (string) – position of the legend (‘right’/’left’/’bottom’)