Skip to content

Commit 9465a63

Browse files
committed
fix: missing title arg
1 parent 216e68f commit 9465a63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ansys/stk/core/stkengine/experimental/jupyterwidgets.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ class GlobeWidget(UiAxGraphics3DCntrl, WidgetBase):
394394
_progid = "STKX12.VOControl.1"
395395
_interface = UiAxGraphics3DCntrl
396396

397-
def __init__(self, root: StkObjectRoot, w: int, h: int, title: str):
397+
def __init__(self, root: StkObjectRoot, w: int, h: int, title: str = None):
398398
WidgetBase.__init__(self, root, w, h, title)
399399

400400
def __setattr__(self, attrname, value):
@@ -409,7 +409,7 @@ class MapWidget(UiAx2DCntrl, WidgetBase):
409409
_progid = "STKX12.2DControl.1"
410410
_interface = UiAx2DCntrl
411411

412-
def __init__(self, root: StkObjectRoot, w: int, h: int, title: str):
412+
def __init__(self, root: StkObjectRoot, w: int, h: int, title: str = None):
413413
WidgetBase.__init__(self, root, w, h, title)
414414

415415
def __setattr__(self, attrname, value):
@@ -424,8 +424,8 @@ class GfxAnalysisWidget(UiAxGraphics2DAnalysisCntrl, WidgetBase):
424424
_progid = "STKX12.GfxAnalysisControl.1"
425425
_interface = UiAxGraphics2DAnalysisCntrl
426426

427-
def __init__(self, root: StkObjectRoot, w: int, h: int):
428-
WidgetBase.__init__(self, root, w, h)
427+
def __init__(self, root: StkObjectRoot, w: int, h: int, title: str = None):
428+
WidgetBase.__init__(self, root, w, h, title)
429429

430430
def __setattr__(self, attrname, value):
431431
WidgetBase.__setattr__(self, attrname, value)

0 commit comments

Comments
 (0)