6.26 KB
/srv/reproducible-results/rbuild-debian/r-b-build.z553uKLK/b1/python-cycler_0.11.0-1_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.z553uKLK/b2/python-cycler_0.11.0-1_armhf.changes
296 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·e3ce8dcd497acacfa8ae65823f2faeea·647604·doc·optional·python-cycler-doc_0.11.0-1_all.deb1 ·d07a3fac939df02a156f897e654305a9·647616·doc·optional·python-cycler-doc_0.11.0-1_all.deb
2 ·1a63ff87b5a4a76e291f5595a6c0d2db·7948·python·optional·python3-cycler_0.11.0-1_all.deb2 ·1a63ff87b5a4a76e291f5595a6c0d2db·7948·python·optional·python3-cycler_0.11.0-1_all.deb
5.78 KB
python-cycler-doc_0.11.0-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2021-11-04·03:48:25.000000·debian-binary1 -rw-r--r--···0········0········0········4·2021-11-04·03:48:25.000000·debian-binary
2 -rw-r--r--···0········0········0·····1888·2021-11-04·03:48:25.000000·control.tar.xz2 -rw-r--r--···0········0········0·····1892·2021-11-04·03:48:25.000000·control.tar.xz
3 -rw-r--r--···0········0········0···645524·2021-11-04·03:48:25.000000·data.tar.xz3 -rw-r--r--···0········0········0···645532·2021-11-04·03:48:25.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
5.18 KB
data.tar.xz
5.16 KB
data.tar
5.14 KB
./usr/share/doc/python-cycler-doc/html/index.html
    
Offset 282, 26 lines modifiedOffset 282, 26 lines modified
282 </section>282 </section>
283 <section·id="inspecting-the-cycler">283 <section·id="inspecting-the-cycler">
284 <h3>Inspecting·the·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler"·title="cycler.Cycler"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler</span></code></a><a·class="headerlink"·href="#inspecting-the-cycler"·title="Permalink·to·this·heading">¶</a></h3>284 <h3>Inspecting·the·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler"·title="cycler.Cycler"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler</span></code></a><a·class="headerlink"·href="#inspecting-the-cycler"·title="Permalink·to·this·heading">¶</a></h3>
285 <p>To·inspect·the·values·of·the·transposed·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler"·title="cycler.Cycler"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler</span></code></a>·use285 <p>To·inspect·the·values·of·the·transposed·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler"·title="cycler.Cycler"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler</span></code></a>·use
286 the·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler.by_key"·title="cycler.Cycler.by_key"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler.by_key</span></code></a>·method:</p>286 the·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler.by_key"·title="cycler.Cycler.by_key"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler.by_key</span></code></a>·method:</p>
287 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[36]:·</span><span·class="n">c_m</span><span·class="o">.</span><span·class="n">by_key</span><span·class="p">()</span>287 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[36]:·</span><span·class="n">c_m</span><span·class="o">.</span><span·class="n">by_key</span><span·class="p">()</span>
288 <span·class="gh">Out[36]:·</span>288 <span·class="gh">Out[36]:·</span>
289 <span·class="go">{&#39;color&#39;:·[&#39;r&#39;,·&#39;r&#39;,·&#39;g&#39;,·&#39;g&#39;,·&#39;b&#39;,·&#39;b&#39;],</span> 
290 <span·class="go">·&#39;marker&#39;:·[&#39;s&#39;,·&#39;o&#39;,·&#39;s&#39;,·&#39;o&#39;,·&#39;s&#39;,·&#39;o&#39;]}</span>289 <span·class="go">{&#39;marker&#39;:·[&#39;s&#39;,·&#39;o&#39;,·&#39;s&#39;,·&#39;o&#39;,·&#39;s&#39;,·&#39;o&#39;],</span>
 290 <span·class="go">·&#39;color&#39;:·[&#39;r&#39;,·&#39;r&#39;,·&#39;g&#39;,·&#39;g&#39;,·&#39;b&#39;,·&#39;b&#39;]}</span>
291 </pre></div>291 </pre></div>
292 </div>292 </div>
293 <p>This·<code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">dict</span></code>·can·be·mutated·and·used·to·create·a·new·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler"·title="cycler.Cycler"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler</span></code></a>·with293 <p>This·<code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">dict</span></code>·can·be·mutated·and·used·to·create·a·new·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler"·title="cycler.Cycler"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler</span></code></a>·with
294 the·updated·values</p>294 the·updated·values</p>
295 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[37]:·</span><span·class="n">bk</span>·<span·class="o">=</span>·<span·class="n">c_m</span><span·class="o">.</span><span·class="n">by_key</span><span·class="p">()</span>295 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[37]:·</span><span·class="n">bk</span>·<span·class="o">=</span>·<span·class="n">c_m</span><span·class="o">.</span><span·class="n">by_key</span><span·class="p">()</span>
  
296 <span·class="gp">In·[38]:·</span><span·class="n">bk</span><span·class="p">[</span><span·class="s1">&#39;color&#39;</span><span·class="p">]</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="s1">&#39;green&#39;</span><span·class="p">]</span>·<span·class="o">*</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">c_m</span><span·class="p">)</span>296 <span·class="gp">In·[38]:·</span><span·class="n">bk</span><span·class="p">[</span><span·class="s1">&#39;color&#39;</span><span·class="p">]</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="s1">&#39;green&#39;</span><span·class="p">]</span>·<span·class="o">*</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">c_m</span><span·class="p">)</span>
  
297 <span·class="gp">In·[39]:·</span><span·class="n">cycler</span><span·class="p">(</span><span·class="o">**</span><span·class="n">bk</span><span·class="p">)</span>297 <span·class="gp">In·[39]:·</span><span·class="n">cycler</span><span·class="p">(</span><span·class="o">**</span><span·class="n">bk</span><span·class="p">)</span>
298 <span·class="gh">Out[39]:·</span><span·class="go">(cycler(&#39;color&#39;,·[&#39;green&#39;,·&#39;green&#39;,·&#39;green&#39;,·&#39;green&#39;,·&#39;green&#39;,·&#39;green&#39;])·+·cycler(&#39;marker&#39;,·[&#39;s&#39;,·&#39;o&#39;,·&#39;s&#39;,·&#39;o&#39;,·&#39;s&#39;,·&#39;o&#39;]))</span>298 <span·class="gh">Out[39]:·</span><span·class="go">(cycler(&#39;marker&#39;,·[&#39;s&#39;,·&#39;o&#39;,·&#39;s&#39;,·&#39;o&#39;,·&#39;s&#39;,·&#39;o&#39;])·+·cycler(&#39;color&#39;,·[&#39;green&#39;,·&#39;green&#39;,·&#39;green&#39;,·&#39;green&#39;,·&#39;green&#39;,·&#39;green&#39;]))</span>
299 </pre></div>299 </pre></div>
300 </div>300 </div>
301 </section>301 </section>
302 <section·id="examples">302 <section·id="examples">
303 <h3>Examples<a·class="headerlink"·href="#examples"·title="Permalink·to·this·heading">¶</a></h3>303 <h3>Examples<a·class="headerlink"·href="#examples"·title="Permalink·to·this·heading">¶</a></h3>
304 <p>We·can·use·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler"·title="cycler.Cycler"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler</span></code></a>·instances·to·cycle·over·one·or·more·<code·class="docutils·literal·notranslate"><span·class="pre">kwarg</span></code>·to304 <p>We·can·use·<a·class="reference·internal"·href="generated/cycler.Cycler.html#cycler.Cycler"·title="cycler.Cycler"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Cycler</span></code></a>·instances·to·cycle·over·one·or·more·<code·class="docutils·literal·notranslate"><span·class="pre">kwarg</span></code>·to
305 <code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">plot</span></code>·:</p>305 <code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">plot</span></code>·:</p>
1.1 KB
html2text {}
    
Offset 183, 25 lines modifiedOffset 183, 25 lines modified
183 Out[35]:·cycler('color',·['g',·'b'])183 Out[35]:·cycler('color',·['g',·'b'])
184 to·return·a·sub-set·of·the·cycle·as·a·new·Cycler.184 to·return·a·sub-set·of·the·cycle·as·a·new·Cycler.
  
185 ****·Inspecting·the·Cycler¶·****185 ****·Inspecting·the·Cycler¶·****
186 To·inspect·the·values·of·the·transposed·Cycler·use·the·Cycler.by_key·method:186 To·inspect·the·values·of·the·transposed·Cycler·use·the·Cycler.by_key·method:
187 In·[36]:·c_m.by_key()187 In·[36]:·c_m.by_key()
188 Out[36]:188 Out[36]:
189 {'color':·['r',·'r',·'g',·'g',·'b',·'b'], 
190 ·'marker':·['s',·'o',·'s',·'o',·'s',·'o']}189 {'marker':·['s',·'o',·'s',·'o',·'s',·'o'],
 190 ·'color':·['r',·'r',·'g',·'g',·'b',·'b']}
191 This·dict·can·be·mutated·and·used·to·create·a·new·Cycler·with·the·updated191 This·dict·can·be·mutated·and·used·to·create·a·new·Cycler·with·the·updated
192 values192 values
193 In·[37]:·bk·=·c_m.by_key()193 In·[37]:·bk·=·c_m.by_key()
  
194 In·[38]:·bk['color']·=·['green']·*·len(c_m)194 In·[38]:·bk['color']·=·['green']·*·len(c_m)
  
195 In·[39]:·cycler(**bk)195 In·[39]:·cycler(**bk)
196 Out[39]:·(cycler('color',·['green',·'green',·'green',·'green',·'green', 
197 'green'])·+·cycler('marker',·['s',·'o',·'s',·'o',·'s',·'o']))196 Out[39]:·(cycler('marker',·['s',·'o',·'s',·'o',·'s',·'o'])·+·cycler('color',
 197 ['green',·'green',·'green',·'green',·'green',·'green']))
  
198 ****·Examples¶·****198 ****·Examples¶·****
199 We·can·use·Cycler·instances·to·cycle·over·one·or·more·kwarg·to·plot·:199 We·can·use·Cycler·instances·to·cycle·over·one·or·more·kwarg·to·plot·:
200 from·cycler·import·cycler200 from·cycler·import·cycler
201 from·itertools·import·cycle201 from·itertools·import·cycle
  
202 fig,·(ax1,·ax2)·=·plt.subplots(1,·2,·tight_layout=True,202 fig,·(ax1,·ax2)·=·plt.subplots(1,·2,·tight_layout=True,