Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
\underline
1 parent 4bb5284 commit b87c1b4Copy full SHA for b87c1b4
1 file changed
doc/users/next_whats_new/mathtext_underline.rst
@@ -0,0 +1,11 @@
1
+Underlining text while using Mathtext
2
+-------------------------------------
3
+
4
+Mathtext now supports the ``\underline`` command.
5
6
+.. code-block:: python
7
8
+ import matplotlib.pyplot as plt
9
+ plt.text(0.4, 0.7, r'This is $\underline{underlined}$ text.')
10
+ plt.text(0.4, 0.3, r'So is $\underline{\mathrm{this}}$.')
11
+ plt.show()
0 commit comments