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

Skip to content

Commit 8f0c414

Browse files
committed
DOC: Add mathbfit to font list
1 parent 4754ceb commit 8f0c414

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

galleries/users_explain/text/mathtext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
``mathtext.rm`` ``\mathrm{}`` Roman (upright)
283283
``mathtext.tt`` ``\mathtt{}`` Typewriter (monospace)
284284
``mathtext.bf`` ``\mathbf{}`` bold italic
285+
``mathtext.bfit`` ``\mathbfit{}`` bold italic
285286
``mathtext.cal`` ``\mathcal{}`` calligraphic
286287
``mathtext.sf`` ``\mathsf{}`` sans-serif
287288
============================== =================================

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)