Skip to content

Commit d1993cc

Browse files
committed
Fix docstring and description of SubplotidValidator
- added missing arrayOk in docstring - removed replaced description - Fixed indentation
1 parent 3a50e45 commit d1993cc

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

_plotly_utils/basevalidators.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,7 @@ class SubplotidValidator(BaseValidator):
17351735
"dflt"
17361736
],
17371737
"otherOpts": [
1738+
"arrayOk",
17381739
"regex"
17391740
]
17401741
}
@@ -1762,17 +1763,9 @@ def __init__(
17621763
def description(self):
17631764
desc = """\
17641765
The '{plotly_name}' property is an identifier of a particular
1765-
subplot, of type '{base}', that may be specified as the string '{base}'
1766-
optionally followed by an integer >= 1
1767-
(e.g. '{base}', '{base}1', '{base}2', '{base}3', etc.)
1768-
""".format(plotly_name=self.plotly_name, base=self.base)
1769-
1770-
desc = """\
1771-
The '{plotly_name}' property is an identifier of a particular
17721766
subplot, of type '{base}', that may be specified as:
1773-
- the string '{base}'
1774-
optionally followed by an integer >= 1
1775-
(e.g. '{base}', '{base}1', '{base}2', '{base}3', etc.)""".format(
1767+
- the string '{base}' optionally followed by an integer >= 1
1768+
(e.g. '{base}', '{base}1', '{base}2', '{base}3', etc.)""".format(
17761769
plotly_name=self.plotly_name, base=self.base
17771770
)
17781771
if self.array_ok:

0 commit comments

Comments
 (0)