Skip to content

Commit 43b421e

Browse files
committed
remove 3d subplot title line
1 parent fc69a05 commit 43b421e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plotly/tools.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,6 @@ def _add_domain(layout, x_or_y, label, ___domain, anchor, position):
960960
def _add_domain_is_3d(layout, s_label, x_domain, y_domain):
961961
scene = graph_objs.Scene(___domain={'x': x_domain, 'y': y_domain})
962962
layout[s_label] = scene
963-
list_of_domains.append(___domain) # added for subplot titles
964963

965964
x_cnt = y_cnt = s_cnt = 1 # subplot axis/scene counters
966965

@@ -1175,7 +1174,7 @@ def _pad(s, cell_len=cell_len):
11751174

11761175
subtitle_pos_x = []
11771176
for index in range(len(x_dom)):
1178-
subtitle_pos_x.append(((x_dom[index][1])-(x_dom[index][0]))/2 +
1177+
subtitle_pos_x.append(((x_dom[index][1]) - (x_dom[index][0])) / 2 +
11791178
x_dom[index][0])
11801179

11811180
subtitle_pos_y = []

0 commit comments

Comments
 (0)