mosaic.widgets.ScaleBarWidget#

class ScaleBarWidget(renderer, interactor)[source]#

Bases: object

__init__(renderer, interactor)[source]#

Methods

__init__(renderer, interactor)

hide()

set_label_format(format_string)

Set the format string for the scale labels.

set_units(units)

Set the units for the scale bar.

show()