Skip to content

Commit 243a913

Browse files
committed
change param order for backwards compability
1 parent 0d94872 commit 243a913

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

plotly/_subplots.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def make_subplots(
5757
row_titles=None,
5858
x_title=None,
5959
y_title=None,
60-
font=None,
6160
figure=None,
61+
font=None,
6262
**kwargs,
6363
):
6464
"""
@@ -228,9 +228,6 @@ def make_subplots(
228228
Title to place to the left of the left column of subplots,
229229
centered vertically
230230
231-
font: dict (default None)
232-
Font used by any title of the subplots.
233-
234231
figure: go.Figure or None (default None)
235232
If None, a new go.Figure instance will be created and its axes will be
236233
populated with those corresponding to the requested subplot geometry and
@@ -239,6 +236,9 @@ def make_subplots(
239236
layout of this figure and this figure will be returned. If the figure
240237
already contains axes, they will be overwritten.
241238
239+
font: dict (default None)
240+
Font used by any title of the subplots.
241+
242242
Examples
243243
--------
244244
@@ -1179,7 +1179,7 @@ def _build_subplot_title_annotations(
11791179

11801180
# If no font size is provided, use this fallback
11811181
if font is None:
1182-
font = {"size": 16}
1182+
font = dict(size=16)
11831183

11841184
if title_edge == "top":
11851185
text_angle = 0

0 commit comments

Comments
 (0)