We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6558ae commit 4849c7eCopy full SHA for 4849c7e
plotly/tools.py
@@ -1177,8 +1177,8 @@ def _pad(s, cell_len=cell_len):
1177
for index in range(len(x_dom)):
1178
subtitle_pos_x.append(((x_dom[index][1]) - (x_dom[index][0])) / 2 +
1179
x_dom[index][0])
1180
- for index in range(len(y_dom)):
1181
- subtitle_pos_y.append(y_dom[index][1])
+ for y_end in y_dom: # y_dom --> y_domains above ?
+ subtitle_pos_y.append(y_end[1])
1182
# If shared_axes is True the domin of each subplot is not returned so the
1183
# title position must be calculated for each subplot
1184
else:
0 commit comments