Skip to content

Commit 96caca8

Browse files
committed
fix the drawing order of lines and markers of the Errorbar legend_handler
1 parent 9ae8771 commit 96caca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/matplotlib/legend_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,8 @@ def create_artists(self, legend, orig_handle,
495495
artists = []
496496
artists.extend(handle_barlinecols)
497497
artists.extend(handle_caplines)
498-
artists.append(legline_marker)
499498
artists.append(legline)
499+
artists.append(legline_marker)
500500

501501
return artists
502502

0 commit comments

Comments
 (0)