File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1057,9 +1057,9 @@ def clear(self):
10571057
10581058 def set_prop_cycle (self , prop_cycle ):
10591059 """
1060- Set the prop cycle for any future plot commands on this Axes.
1060+ Set the property cycle for any future plot commands on this Axes.
10611061
1062- *prop_cycle* is a :class:Cycler object.
1062+ *prop_cycle* is a :class:` Cycler` object.
10631063 Can also be `None` to reset to the cycle defined by the
10641064 current style.
10651065 """
@@ -1076,9 +1076,7 @@ def set_color_cycle(self, clist):
10761076 """
10771077 cbook .warn_deprecated (
10781078 '1.5' , name = 'set_color_cycle' , alternative = 'set_prop_cycle' )
1079- prop_cycler = cycler ('color' , clist )
1080- self ._get_lines .set_prop_cycle (prop_cycler )
1081- self ._get_patches_for_fill .set_prop_cycle (prop_cycler )
1079+ self .set_prop_cycle (cycler ('color' , clist ))
10821080
10831081 def ishold (self ):
10841082 """return the HOLD status of the axes"""
You can’t perform that action at this time.
0 commit comments