6.41 KB
/srv/reproducible-results/rbuild-debian/r-b-build.zWkBwQWZ/b1/python-cycler_0.12.1-1_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.zWkBwQWZ/b2/python-cycler_0.12.1-1_i386.changes
296 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·8ebbe423f7dbb9b6a926199e233c39d4·655888·doc·optional·python-cycler-doc_0.12.1-1_all.deb1 ·907da5aeb0b8ab35473b2dd53536a176·655900·doc·optional·python-cycler-doc_0.12.1-1_all.deb
2 ·05a58b376b9261e6c0e8534e13326940·9496·python·optional·python3-cycler_0.12.1-1_all.deb2 ·05a58b376b9261e6c0e8534e13326940·9496·python·optional·python3-cycler_0.12.1-1_all.deb
5.93 KB
python-cycler-doc_0.12.1-1_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-03-13·21:18:27.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-03-13·21:18:27.000000·debian-binary
2 -rw-r--r--···0········0········0·····1912·2024-03-13·21:18:27.000000·control.tar.xz2 -rw-r--r--···0········0········0·····1912·2024-03-13·21:18:27.000000·control.tar.xz
3 -rw-r--r--···0········0········0···653784·2024-03-13·21:18:27.000000·data.tar.xz3 -rw-r--r--···0········0········0···653796·2024-03-13·21:18:27.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.41 KB
data.tar.xz
5.39 KB
data.tar
5.38 KB
./usr/share/doc/python-cycler-doc/html/index.html
    
Offset 278, 26 lines modifiedOffset 278, 26 lines modified
278 </section>278 </section>
279 <section·id="inspecting-the-cycler">279 <section·id="inspecting-the-cycler">
280 <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="Link·to·this·heading">¶</a></h3>280 <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="Link·to·this·heading">¶</a></h3>
281 <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>·use281 <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
282 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>282 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>
283 <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>283 <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>
284 <span·class="gh">Out[36]:·</span>284 <span·class="gh">Out[36]:·</span>
285 <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> 
286 <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>285 <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>
 286 <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>
287 </pre></div>287 </pre></div>
288 </div>288 </div>
289 <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>·with289 <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
290 the·updated·values</p>290 the·updated·values</p>
291 <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>291 <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>
  
292 <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>292 <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>
  
293 <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>293 <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>
294 <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>294 <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>
295 </pre></div>295 </pre></div>
296 </div>296 </div>
297 </section>297 </section>
298 <section·id="examples">298 <section·id="examples">
299 <h3>Examples<a·class="headerlink"·href="#examples"·title="Link·to·this·heading">¶</a></h3>299 <h3>Examples<a·class="headerlink"·href="#examples"·title="Link·to·this·heading">¶</a></h3>
300 <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>·to300 <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
301 <code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">plot</span></code>·:</p>301 <code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">plot</span></code>·:</p>
1.34 KB
html2text {}
    
Offset 167, 25 lines modifiedOffset 167, 25 lines modified
167 In·[35]:·color_cycle[1:]167 In·[35]:·color_cycle[1:]
168 Out[35]:·cycler('color',·['g',·'b'])168 Out[35]:·cycler('color',·['g',·'b'])
169 to·return·a·sub-set·of·the·cycle·as·a·new·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r.169 to·return·a·sub-set·of·the·cycle·as·a·new·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r.
170 *\x8**\x8**\x8**\x8*·I\x8In\x8ns\x8sp\x8pe\x8ec\x8ct\x8ti\x8in\x8ng\x8g·t\x8th\x8he\x8e·_\x8C\x8C_\x8y\x8y_\x8c\x8c_\x8l\x8l_\x8e\x8e_\x8r\x8r_\x8?\x8·*\x8**\x8**\x8**\x8*170 *\x8**\x8**\x8**\x8*·I\x8In\x8ns\x8sp\x8pe\x8ec\x8ct\x8ti\x8in\x8ng\x8g·t\x8th\x8he\x8e·_\x8C\x8C_\x8y\x8y_\x8c\x8c_\x8l\x8l_\x8e\x8e_\x8r\x8r_\x8?\x8·*\x8**\x8**\x8**\x8*
171 To·inspect·the·values·of·the·transposed·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r·use·the·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r_\x8._\x8b_\x8y_\x8__\x8k_\x8e_\x8y·method:171 To·inspect·the·values·of·the·transposed·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r·use·the·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r_\x8._\x8b_\x8y_\x8__\x8k_\x8e_\x8y·method:
172 In·[36]:·c_m.by_key()172 In·[36]:·c_m.by_key()
173 Out[36]:173 Out[36]:
174 {'color':·['r',·'r',·'g',·'g',·'b',·'b'], 
175 ·'marker':·['s',·'o',·'s',·'o',·'s',·'o']}174 {'marker':·['s',·'o',·'s',·'o',·'s',·'o'],
 175 ·'color':·['r',·'r',·'g',·'g',·'b',·'b']}
176 This·dict·can·be·mutated·and·used·to·create·a·new·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r·with·the·updated176 This·dict·can·be·mutated·and·used·to·create·a·new·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r·with·the·updated
177 values177 values
178 In·[37]:·bk·=·c_m.by_key()178 In·[37]:·bk·=·c_m.by_key()
  
179 In·[38]:·bk['color']·=·['green']·*·len(c_m)179 In·[38]:·bk['color']·=·['green']·*·len(c_m)
  
180 In·[39]:·cycler(**bk)180 In·[39]:·cycler(**bk)
181 Out[39]:·(cycler('color',·['green',·'green',·'green',·'green',·'green', 
182 'green'])·+·cycler('marker',·['s',·'o',·'s',·'o',·'s',·'o']))181 Out[39]:·(cycler('marker',·['s',·'o',·'s',·'o',·'s',·'o'])·+·cycler('color',
 182 ['green',·'green',·'green',·'green',·'green',·'green']))
183 *\x8**\x8**\x8**\x8*·E\x8Ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8*183 *\x8**\x8**\x8**\x8*·E\x8Ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8*
184 We·can·use·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r·instances·to·cycle·over·one·or·more·kwarg·to·plot·:184 We·can·use·_\x8C_\x8y_\x8c_\x8l_\x8e_\x8r·instances·to·cycle·over·one·or·more·kwarg·to·plot·:
185 from·cycler·import·cycler185 from·cycler·import·cycler
186 from·itertools·import·cycle186 from·itertools·import·cycle
  
187 fig,·(ax1,·ax2)·=·plt.subplots(1,·2,·tight_layout=True,187 fig,·(ax1,·ax2)·=·plt.subplots(1,·2,·tight_layout=True,
188 ·······························figsize=(8,·4))188 ·······························figsize=(8,·4))