6.41 KB
/srv/reproducible-results/rbuild-debian/r-b-build.jXw24Be1/b1/python-cycler_0.12.1-1_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.jXw24Be1/b2/python-cycler_0.12.1-1_arm64.changes
296 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·d396b189cfbe6aa5c6575fc9bf716b80·649492·doc·optional·python-cycler-doc_0.12.1-1_all.deb1 ·8a6c74b7c287a262d42f5691b6f34027·649488·doc·optional·python-cycler-doc_0.12.1-1_all.deb
2 ·8ac76082d8302019ca38b9d7e0b3a4f4·9496·python·optional·python3-cycler_0.12.1-1_all.deb2 ·8ac76082d8302019ca38b9d7e0b3a4f4·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·····2220·2024-03-13·21:18:27.000000·control.tar.xz2 -rw-r--r--···0········0········0·····2220·2024-03-13·21:18:27.000000·control.tar.xz
3 -rw-r--r--···0········0········0···647080·2024-03-13·21:18:27.000000·data.tar.xz3 -rw-r--r--···0········0········0···647076·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 279, 26 lines modifiedOffset 279, 26 lines modified
279 </section>279 </section>
280 <section·id="inspecting-the-cycler">280 <section·id="inspecting-the-cycler">
281 <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 <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>
282 <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>·use282 <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
283 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 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>
284 <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 <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>
285 <span·class="gh">Out[36]:·</span>285 <span·class="gh">Out[36]:·</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>
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>287 <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>
287 <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> 
288 </pre></div>288 </pre></div>
289 </div>289 </div>
290 <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>·with290 <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
291 the·updated·values</p>291 the·updated·values</p>
292 <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 <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>
  
293 <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·[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>
  
294 <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="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>
295 <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 <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>
296 </pre></div>296 </pre></div>
297 </div>297 </div>
298 </section>298 </section>
299 <section·id="examples">299 <section·id="examples">
300 <h3>Examples<a·class="headerlink"·href="#examples"·title="Link·to·this·heading">¶</a></h3>300 <h3>Examples<a·class="headerlink"·href="#examples"·title="Link·to·this·heading">¶</a></h3>
301 <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>·to301 <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
302 <code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">plot</span></code>·:</p>302 <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'],
174 {'marker':·['s',·'o',·'s',·'o',·'s',·'o'],175 ·'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('marker',·['s',·'o',·'s',·'o',·'s',·'o'])·+·cycler('color', 
182 ['green',·'green',·'green',·'green',·'green',·'green']))181 Out[39]:·(cycler('color',·['green',·'green',·'green',·'green',·'green',
 182 'green'])·+·cycler('marker',·['s',·'o',·'s',·'o',·'s',·'o']))
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))