Skip to content

Commit f09894e

Browse files
committed
Small doc fixes.
- mlab doesn't just do spectral computations, it also has GaussianKDE. - The "caption" example in the plot_directive doc has a quote which gets incorrectly highlighted as a Python string in the rendered docs; the technically correct solution would be to wrap the whole thing in a `.. code-block:: rst` but just removing the quote works just as well and avoids mangling the unrendered version.
1 parent 7c2a3c4 commit f09894e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/mlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Numerical Python functions written for compatibility with MATLAB
33
commands with the same names. Most numerical Python functions can be found in
44
the `NumPy`_ and `SciPy`_ libraries. What remains here is code for performing
5-
spectral computations.
5+
spectral computations and kernel density estimations.
66
77
.. _NumPy: https://numpy.org
88
.. _SciPy: https://www.scipy.org

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
.. plot:: path/to/plot.py
1818
19-
The plot's caption.
19+
The plot caption.
2020
2121
Additionally, one may specify the name of a function to call (with
2222
no arguments) immediately after importing the module::

0 commit comments

Comments
 (0)