@@ -171,7 +171,7 @@ def split_list(a_list):
171171# selected marker shape (e.g. caret up, caret down). Following example shows
172172# how user supplied rotation applies to several marker shapes.
173173
174- common_style = {k : v for k , v in filled_marker_style .items () if v != 'marker' }
174+ common_style = {k : v for k , v in filled_marker_style .items () if k != 'marker' }
175175angles = [0 , 10 , 20 , 30 , 45 , 60 , 90 ]
176176
177177fig , ax = plt .subplots ()
@@ -227,7 +227,7 @@ def split_list(a_list):
227227fig .suptitle ('Marker CapStyle' , fontsize = 14 )
228228fig .subplots_adjust (left = 0.1 )
229229
230- for y , cap_style in enumerate ([ None , * CapStyle ] ):
230+ for y , cap_style in enumerate (CapStyle ):
231231 ax .text (- 0.5 , y , cap_style .name , ** text_style )
232232 for x , theta in enumerate (angles ):
233233 t = Affine2D ().rotate_deg (theta )
@@ -240,7 +240,7 @@ def split_list(a_list):
240240
241241###############################################################################
242242# Follwing example show how to change the join style and how different styles
243- # look .
243+ # looks like .
244244
245245fig , ax = plt .subplots ()
246246fig .suptitle ('Marker JoinStyle' , fontsize = 14 )
0 commit comments