Skip to content

Commit 871d1d9

Browse files
committed
add whats_new file
1 parent ffaac25 commit 871d1d9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Change in default font
2+
----------------------
3+
4+
The default font used by matplotlib in text has been changed to DejaVu Sans and
5+
DejaVu Serif for the sans-serif and serif families, respectively. The DejaVu
6+
font family is based on the previous matplotlib default --Bitstream Vera-- but
7+
includes a much wider range of characters.
8+
9+
The default mathtext font has been changed from Computer Modern to the DejaVu
10+
family to maintain consistency with regular text. Two new options for the
11+
``mathtext.fontset`` configuration parameter have been added: ``dejavusans``
12+
(default) and ``dejavuserif``. Both of these options use DejaVu glyphs whenever
13+
possible and fall back to STIX symbols when a glyph is not found in DejaVu. To
14+
return to the previous behavior, set the rcParam ``mathtext.fontset`` to ``cm``.

0 commit comments

Comments
 (0)