We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 161e6ad commit 5a3c968Copy full SHA for 5a3c968
cycler.py
@@ -5,25 +5,30 @@
5
Cycling through combinations of values, producing dictionaries.
6
7
You can add cyclers::
8
+
9
from cycler import cycler
10
cc = (cycler('color', list('rgb')) +
11
cycler('linestyle', ['-', '--', '-.']))
12
for d in cc:
13
print(d)
14
15
Results in::
16
17
{'color': 'r', 'linestyle': '-'}
18
{'color': 'g', 'linestyle': '--'}
19
{'color': 'b', 'linestyle': '-.'}
20
21
22
You can multiply cyclers::
23
24
25
cc = (cycler('color', list('rgb')) *
26
27
28
29
30
31
32
33
{'color': 'r', 'linestyle': '--'}
34
{'color': 'r', 'linestyle': '-.'}
0 commit comments