Skip to content

Commit 90f119d

Browse files
committed
Fix subplot number increment bug
1 parent e52256b commit 90f119d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plotly/subplots.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ def _init_subplot_single(
904904
'trace_kwargs': {trace_key: label}}
905905

906906
# increment max_subplot_id
907-
max_subplot_ids['scene'] = cnt
907+
max_subplot_ids[subplot_type] = cnt
908908

909909
return ref_element
910910

0 commit comments

Comments
 (0)