Skip to content

Commit 7e97eab

Browse files
author
James Boulton
committed
Fix Table documentation
1 parent 4117723 commit 7e97eab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dashio/iotcontrol/table.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Table(Control):
109109
def __init__(
110110
self,
111111
control_id: str,
112-
title="A Text Box",
112+
title="A Table Box",
113113
title_position=TitlePosition.BOTTOM,
114114
precision=Precision.OFF,
115115
font_size: int = 12,
@@ -171,7 +171,7 @@ def get_state(self):
171171

172172
@classmethod
173173
def from_cfg_dict(cls, cfg_dict: dict, column_no=1):
174-
"""Instantiates TextBox from cfg dictionary
174+
"""Instantiates Table from cfg dictionary
175175
176176
Parameters
177177
----------
@@ -180,7 +180,7 @@ def from_cfg_dict(cls, cfg_dict: dict, column_no=1):
180180
181181
Returns
182182
-------
183-
TextBox
183+
Table
184184
"""
185185
tmp_cls = cls(
186186
cfg_dict["controlID"],

0 commit comments

Comments
 (0)