Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97a95d7

Browse files
committed
DOC: Add mathbfit to font list
1 parent b47c6ae commit 97a95d7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

galleries/tutorials/text/mathtext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@
277277
``mathtext.rm`` ``\mathrm{}`` Roman (upright)
278278
``mathtext.tt`` ``\mathtt{}`` Typewriter (monospace)
279279
``mathtext.bf`` ``\mathbf{}`` bold italic
280+
``mathtext.bfit`` ``\mathbfit{}`` bold italic
280281
``mathtext.cal`` ``\mathcal{}`` calligraphic
281282
``mathtext.sf`` ``\mathsf{}`` sans-serif
282283
============================== =================================

lib/matplotlib/tests/test_mathtext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ def test_mathtext_fallback(fallback, fontlist):
422422
mpl.rcParams['mathtext.rm'] = 'mpltest'
423423
mpl.rcParams['mathtext.it'] = 'mpltest:italic'
424424
mpl.rcParams['mathtext.bf'] = 'mpltest:bold'
425+
mpl.rcParams['mathtext.bfit'] = 'mpltest:italic:bold'
425426
mpl.rcParams['mathtext.fallback'] = fallback
426427

427428
test_str = r'a$A\AA\breve\gimel$'

0 commit comments

Comments
 (0)