# The following has been generated automatically from src/core/layout/qgslayoutitemscalebar.h try: QgsLayoutItemScaleBar.create = staticmethod(QgsLayoutItemScaleBar.create) QgsLayoutItemScaleBar.__group__ = ['layout'] except (NameError, AttributeError): pass