File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,11 @@ class in *classes*
8989 legtext .set_picker (pick_dist )
9090 self ._leg_artists [legtext ] = klass
9191 self ._leg_artists [legline ] = klass
92- self ._class_leg_artists [klass ] = (legline , legline ._legmarker , legtext )
92+ try :
93+ # mpl < 3.5
94+ self ._class_leg_artists [klass ] = (legline , legline ._legmarker , legtext )
95+ except AttributeError :
96+ self ._class_leg_artists [klass ] = (legline , legtext )
9397
9498 self ._fig = self .ax .figure
9599 self ._fig .canvas .mpl_connect ("button_press_event" , self ._clicked )
Original file line number Diff line number Diff line change 44# Copyright (c) Ian Hunt-Isaak.
55# Distributed under the terms of the Modified BSD License.
66
7- version_info = (0 , 1 , 4 )
7+ version_info = (0 , 2 , 0 )
88__version__ = "." .join (map (str , version_info ))
Original file line number Diff line number Diff line change 3030 black
3131 pytest
3232 pytest-mpl
33+ mpl-playback
3334doc =
3435 sphinx
3536 numpydoc
You can’t perform that action at this time.
0 commit comments