Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2699664

Browse files
committed
Merge branch 'v1.5.x' into v2.x
2 parents c4a94e5 + 0823022 commit 2699664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/qt_editor/figureoptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def apply_callback(data):
158158

159159
if generate_legend:
160160
draggable = None
161-
ncol = None
161+
ncol = 1
162162
if axes.legend_ is not None:
163163
old_legend = axes.get_legend()
164164
draggable = old_legend._draggable is not None

0 commit comments

Comments
 (0)