Skip to content

Commit f60b80d

Browse files
committed
Update documentation
1 parent 60c32e0 commit f60b80d

File tree

11 files changed

+260
-102
lines changed

11 files changed

+260
-102
lines changed

docs/_modules/pypianoroll/plot.html

Lines changed: 90 additions & 88 deletions
Large diffs are not rendered by default.

docs/_modules/pypianoroll/utilities.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ <h1>Source code for pypianoroll.utilities</h1><div class="highlight"><pre>
332332

333333
<div class="viewcode-block" id="plot"><a class="viewcode-back" href="../../visualization.html#pypianoroll.plot">[docs]</a><span class="k">def</span> <span class="nf">plot</span><span class="p">(</span><span class="n">obj</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
334334
<span class="sd">&quot;&quot;&quot;</span>
335-
<span class="sd"> Plot the object. See :func:`pypianoroll.Multitrack.plot` and</span>
336-
<span class="sd"> :func:`pypianoroll.Track.plot` for full documentation.</span>
335+
<span class="sd"> Plot the object. See :func:`pypianoroll.plot.plot_multitrack` and</span>
336+
<span class="sd"> :func:`pypianoroll.plot.plot_track` for full documentation.</span>
337337

338338
<span class="sd"> &quot;&quot;&quot;</span>
339339
<span class="n">_check_supported</span><span class="p">(</span><span class="n">obj</span><span class="p">)</span>

docs/_sources/save_load.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Save & Load
44
===========
55
Pypianoroll supports efficient utilities for saving and loading
66
:class:`pypianoroll.Multitrack` objects. The piano-rolls will be first converted
7-
to instances of ``scipy.sparse.csc_matrix`` and then stored in a .npz file.
7+
to instances of :class:`scipy.sparse.csc_matrix` and then stored in a .npz file.
88

99
.. autofunction:: pypianoroll.save
1010

docs/_sources/visualization.rst.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Here are some examples.
2121
Related Functions
2222
-----------------
2323

24-
.. autofunction :: pypianoroll.plot_pianoroll
2524
.. autofunction :: pypianoroll.plot
25+
.. autofunction :: pypianoroll.plot_pianoroll
26+
.. autofunction :: pypianoroll.plot.plot_track
27+
.. autofunction :: pypianoroll.plot.plot_multitrack
2628
.. autofunction :: pypianoroll.save_animation

docs/genindex.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@ <h2 id="P">P</h2>
361361
<li><a href="multitrack.html#pypianoroll.Multitrack.pad_to_same">(pypianoroll.Multitrack method)</a>
362362
</li>
363363
</ul></li>
364-
</ul></td>
365-
<td style="width: 33%; vertical-align: top;"><ul>
366364
<li><a href="parse_write.html#pypianoroll.parse">parse() (in module pypianoroll)</a>
367365
</li>
366+
</ul></td>
367+
<td style="width: 33%; vertical-align: top;"><ul>
368368
<li><a href="multitrack.html#pypianoroll.Multitrack.parse_midi">parse_midi() (pypianoroll.Multitrack method)</a>
369369
</li>
370370
<li><a href="multitrack.html#pypianoroll.Multitrack.parse_pretty_midi">parse_pretty_midi() (pypianoroll.Multitrack method)</a>
@@ -379,7 +379,11 @@ <h2 id="P">P</h2>
379379
<li><a href="track.html#pypianoroll.Track.plot">(pypianoroll.Track method)</a>
380380
</li>
381381
</ul></li>
382+
<li><a href="visualization.html#pypianoroll.plot.plot_multitrack">plot_multitrack() (in module pypianoroll.plot)</a>
383+
</li>
382384
<li><a href="visualization.html#pypianoroll.plot_pianoroll">plot_pianoroll() (in module pypianoroll)</a>
385+
</li>
386+
<li><a href="visualization.html#pypianoroll.plot.plot_track">plot_track() (in module pypianoroll.plot)</a>
383387
</li>
384388
<li><a href="track.html#pypianoroll.Track.program">program (pypianoroll.Track attribute)</a>
385389
</li>

docs/multitrack.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@
657657
<dt id="pypianoroll.Multitrack.plot">
658658
<code class="descname">plot</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypianoroll/multitrack.html#Multitrack.plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypianoroll.Multitrack.plot" title="Permalink to this definition"></a></dt>
659659
<dd><p>Plot the piano-rolls or save a plot of them. See
660-
<code class="xref py py-func docutils literal"><span class="pre">pypianoroll.plot.plot_multitrack()</span></code> for full documentation.</p>
660+
<a class="reference internal" href="visualization.html#pypianoroll.plot.plot_multitrack" title="pypianoroll.plot.plot_multitrack"><code class="xref py py-func docutils literal"><span class="pre">pypianoroll.plot.plot_multitrack()</span></code></a> for full documentation.</p>
661661
</dd></dl>
662662

663663
<dl class="method">

docs/objects.inv

13 Bytes
Binary file not shown.

docs/save_load.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
<span id="id1"></span><h1>Save &amp; Load<a class="headerlink" href="#save-load" title="Permalink to this headline"></a></h1>
164164
<p>Pypianoroll supports efficient utilities for saving and loading
165165
<a class="reference internal" href="multitrack.html#pypianoroll.Multitrack" title="pypianoroll.Multitrack"><code class="xref py py-class docutils literal"><span class="pre">pypianoroll.Multitrack</span></code></a> objects. The piano-rolls will be first converted
166-
to instances of <code class="docutils literal"><span class="pre">scipy.sparse.csc_matrix</span></code> and then stored in a .npz file.</p>
166+
to instances of <a class="reference external" href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csc_matrix.html#scipy.sparse.csc_matrix" title="(in SciPy v1.1.0)"><code class="xref py py-class docutils literal"><span class="pre">scipy.sparse.csc_matrix</span></code></a> and then stored in a .npz file.</p>
167167
<dl class="function">
168168
<dt id="pypianoroll.save">
169169
<code class="descclassname">pypianoroll.</code><code class="descname">save</code><span class="sig-paren">(</span><em>filepath</em>, <em>obj</em>, <em>compressed=True</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypianoroll/utilities.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypianoroll.save" title="Permalink to this definition"></a></dt>

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/track.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
<dt id="pypianoroll.Track.plot">
381381
<code class="descname">plot</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypianoroll/track.html#Track.plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypianoroll.Track.plot" title="Permalink to this definition"></a></dt>
382382
<dd><p>Plot the piano-roll or save a plot of the piano-roll. See
383-
<code class="xref py py-func docutils literal"><span class="pre">pypianoroll.plot.plot_track()</span></code> for full documentation.</p>
383+
<a class="reference internal" href="visualization.html#pypianoroll.plot.plot_track" title="pypianoroll.plot.plot_track"><code class="xref py py-func docutils literal"><span class="pre">pypianoroll.plot.plot_track()</span></code></a> for full documentation.</p>
384384
</dd></dl>
385385

386386
<dl class="method">

0 commit comments

Comments
 (0)