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.
1 parent 4334341 commit 4730c8aCopy full SHA for 4730c8a
1 file changed
doc/release/next_whats_new/underline-23616.rst
@@ -0,0 +1,12 @@
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
10
+ plt.text(0.4, 0.7, r'This is $\underline{underlined}$ text.')
11
+ plt.text(0.4, 0.3, r'So is $\underline{\mathrm{this}}$.')
12
+ plt.show()
0 commit comments