Skip to content

Commit 99e63da

Browse files
authored
Merge pull request #4446 from mahotd/fix-suplot-typo
Fix `suplot` typo
2 parents 8bc43e5 + 2e3ce88 commit 99e63da

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Diff for: packages/python/plotly/plotly/_subplots.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def make_subplots(
190190
in fraction of cell height ('to_end': to cell top edge)
191191
192192
column_widths: list of numbers or None (default None)
193-
list of length `cols` of the relative widths of each column of suplots.
193+
list of length `cols` of the relative widths of each column of subplots.
194194
Values are normalized internally and used to distribute overall width
195195
of the figure (excluding padding) among the columns.
196196
@@ -358,7 +358,7 @@ def make_subplots(
358358
if not isinstance(rows, int) or rows <= 0:
359359
raise ValueError(
360360
"""
361-
The 'rows' argument to make_suplots must be an int greater than 0.
361+
The 'rows' argument to make_subplots must be an int greater than 0.
362362
Received value of type {typ}: {val}""".format(
363363
typ=type(rows), val=repr(rows)
364364
)
@@ -368,7 +368,7 @@ def make_subplots(
368368
if not isinstance(cols, int) or cols <= 0:
369369
raise ValueError(
370370
"""
371-
The 'cols' argument to make_suplots must be an int greater than 0.
371+
The 'cols' argument to make_subplots must be an int greater than 0.
372372
Received value of type {typ}: {val}""".format(
373373
typ=type(cols), val=repr(cols)
374374
)
@@ -399,7 +399,7 @@ def _checks(item, defaults):
399399
if not isinstance(item, dict):
400400
raise ValueError(
401401
"""
402-
Elements of the '{name}' argument to make_suplots must be dictionaries \
402+
Elements of the '{name}' argument to make_subplots must be dictionaries \
403403
or None.
404404
Received value of type {typ}: {val}""".format(
405405
name=name, typ=type(item), val=repr(item)
@@ -484,7 +484,7 @@ def _checks(item, defaults):
484484
):
485485
raise ValueError(
486486
"""
487-
The 'insets' argument to make_suplots must be a list of dictionaries.
487+
The 'insets' argument to make_subplots must be a list of dictionaries.
488488
Received value of type {typ}: {val}""".format(
489489
typ=type(insets), val=repr(insets)
490490
)
@@ -587,7 +587,7 @@ def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname):
587587
else:
588588
raise ValueError(
589589
"""
590-
The 'column_widths' argument to make_suplots must be a list of numbers of \
590+
The 'column_widths' argument to make_subplots must be a list of numbers of \
591591
length {cols}.
592592
Received value of type {typ}: {val}""".format(
593593
cols=cols, typ=type(column_widths), val=repr(column_widths)
@@ -607,7 +607,7 @@ def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname):
607607
else:
608608
raise ValueError(
609609
"""
610-
The 'row_heights' argument to make_suplots must be a list of numbers of \
610+
The 'row_heights' argument to make_subplots must be a list of numbers of \
611611
length {rows}.
612612
Received value of type {typ}: {val}""".format(
613613
rows=rows, typ=type(row_heights), val=repr(row_heights)

Diff for: packages/python/plotly/plotly/basedatatypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5709,7 +5709,7 @@ class BaseLayoutType(BaseLayoutHierarchyType):
57095709
# These are used when a layout has multiple instances of subplot types
57105710
# (xaxis2, yaxis3, geo4, etc.)
57115711
#
5712-
# The base version of each suplot type is defined in the schema and code
5712+
# The base version of each subplot type is defined in the schema and code
57135713
# generated. So the Layout subclass has statically defined properties
57145714
# for xaxis, yaxis, geo, ternary, and scene. But, we need to dynamically
57155715
# generated properties/validators as needed for xaxis2, yaxis3, etc.

Diff for: packages/python/plotly/plotly/subplots.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def make_subplots(
154154
in fraction of cell height ('to_end': to cell top edge)
155155
156156
column_widths: list of numbers or None (default None)
157-
list of length `cols` of the relative widths of each column of suplots.
157+
list of length `cols` of the relative widths of each column of subplots.
158158
Values are normalized internally and used to distribute overall width
159159
of the figure (excluding padding) among the columns.
160160

0 commit comments

Comments
 (0)