Skip to content

Commit 4819692

Browse files
committed
increase size of legend in example
1 parent d2cc4d0 commit 4819692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

galleries/users_explain/axes/legend_guide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
line1, = ax.plot([3, 2, 1], marker='o', label='Line 1')
261261
line2, = ax.plot([1, 2, 3], marker='o', label='Line 2')
262262

263-
ax.legend(handler_map={line1: HandlerLine2D(numpoints=4)})
263+
ax.legend(handler_map={line1: HandlerLine2D(numpoints=4)}, handlelength=4)
264264

265265
# %%
266266
# As you can see, "Line 1" now has 4 marker points, where "Line 2" has 2 (the

0 commit comments

Comments
 (0)