Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b5a6a5

Browse files
committed
Added the deprecation notice to api_changes/
1 parent f3e8394 commit 6b5a6a5

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
`color_cycle` deprecated
2+
````````````````````````
3+
4+
In light of the new property cycling feature,
5+
the Axes method *set_color_cycle* is now deprecated.
6+
Calling this method will replace the current property cycle with
7+
one that cycles just the given colors.
8+
9+
Similarly, the rc parameter *axes.color_cycle* is also deprecated in
10+
lieu of the new *axes.prop_cycle* parameter. Having both parameters in
11+
the same rc file is not recommended as the result cannot be
12+
predicted. For compatibility, setting *axes.color_cycle* will
13+
replace the cycler in *axes.prop_cycle* with a color cycle.
14+
Accessing *axes.color_cycle* will return just the color portion
15+
of the property cycle, if it exists.
16+
17+
Timeline for removal has not been set.

0 commit comments

Comments
 (0)