--- /srv/rebuilderd/tmp/rebuilderd3oM7Ba/inputs/python-cycler-doc_0.12.1-3_all.deb +++ /srv/rebuilderd/tmp/rebuilderd3oM7Ba/out/python-cycler-doc_0.12.1-3_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2026-06-28 13:46:19.000000 debian-binary │ -rw-r--r-- 0 0 0 2220 2026-06-28 13:46:19.000000 control.tar.xz │ --rw-r--r-- 0 0 0 638616 2026-06-28 13:46:19.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 638624 2026-06-28 13:46:19.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── ./usr/share/doc/python-cycler-doc/html/index.html │ │ │ @@ -280,26 +280,26 @@ │ │ │ │ │ │
│ │ │

Inspecting the Cycler

│ │ │

To inspect the values of the transposed Cycler use │ │ │ the Cycler.by_key method:

│ │ │
In [36]: c_m.by_key()
│ │ │  Out[36]: 
│ │ │ -{'color': ['r', 'r', 'g', 'g', 'b', 'b'],
│ │ │ - 'marker': ['s', 'o', 's', 'o', 's', 'o']}
│ │ │ +{'marker': ['s', 'o', 's', 'o', 's', 'o'],
│ │ │ + 'color': ['r', 'r', 'g', 'g', 'b', 'b']}
│ │ │  
│ │ │
│ │ │

This dict can be mutated and used to create a new Cycler with │ │ │ the updated values

│ │ │
In [37]: bk = c_m.by_key()
│ │ │  
│ │ │  In [38]: bk['color'] = ['green'] * len(c_m)
│ │ │  
│ │ │  In [39]: cycler(**bk)
│ │ │ -Out[39]: (cycler('color', ['green', 'green', 'green', 'green', 'green', 'green']) + cycler('marker', ['s', 'o', 's', 'o', 's', 'o']))
│ │ │ +Out[39]: (cycler('marker', ['s', 'o', 's', 'o', 's', 'o']) + cycler('color', ['green', 'green', 'green', 'green', 'green', 'green']))
│ │ │  
│ │ │
│ │ │
│ │ │
│ │ │

Examples

│ │ │

We can use Cycler instances to cycle over one or more kwarg to │ │ │ plot :

│ │ │ ├── html2text {} │ │ │ │ @@ -168,25 +168,25 @@ │ │ │ │ In [35]: color_cycle[1:] │ │ │ │ Out[35]: cycler('color', ['g', 'b']) │ │ │ │ to return a sub-set of the cycle as a new _C_y_c_l_e_r. │ │ │ │ ******** IInnssppeeccttiinngg tthhee _CC_yy_cc_ll_ee_rr_?¶ ******** │ │ │ │ To inspect the values of the transposed _C_y_c_l_e_r use the _C_y_c_l_e_r_._b_y___k_e_y method: │ │ │ │ In [36]: c_m.by_key() │ │ │ │ Out[36]: │ │ │ │ -{'color': ['r', 'r', 'g', 'g', 'b', 'b'], │ │ │ │ - 'marker': ['s', 'o', 's', 'o', 's', 'o']} │ │ │ │ +{'marker': ['s', 'o', 's', 'o', 's', 'o'], │ │ │ │ + 'color': ['r', 'r', 'g', 'g', 'b', 'b']} │ │ │ │ This dict can be mutated and used to create a new _C_y_c_l_e_r with the updated │ │ │ │ values │ │ │ │ In [37]: bk = c_m.by_key() │ │ │ │ │ │ │ │ In [38]: bk['color'] = ['green'] * len(c_m) │ │ │ │ │ │ │ │ In [39]: cycler(**bk) │ │ │ │ -Out[39]: (cycler('color', ['green', 'green', 'green', 'green', 'green', │ │ │ │ -'green']) + cycler('marker', ['s', 'o', 's', 'o', 's', 'o'])) │ │ │ │ +Out[39]: (cycler('marker', ['s', 'o', 's', 'o', 's', 'o']) + cycler('color', │ │ │ │ +['green', 'green', 'green', 'green', 'green', 'green'])) │ │ │ │ ******** EExxaammpplleess_?¶ ******** │ │ │ │ We can use _C_y_c_l_e_r instances to cycle over one or more kwarg to plot : │ │ │ │ from cycler import cycler │ │ │ │ from itertools import cycle │ │ │ │ │ │ │ │ fig, (ax1, ax2) = plt.subplots(1, 2, tight_layout=True, │ │ │ │ figsize=(8, 4))