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

Skip to content

Commit b57b39b

Browse files
committed
Add documention for fontManager. Closes #22586
1 parent 20baeaa commit b57b39b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/matplotlib/font_manager.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
A module for finding, managing, and using fonts across platforms.
33
4-
This module provides a single `FontManager` instance that can
4+
This module provides a single `FontManager` instance, `fontManager`, that can
55
be shared across backends and platforms. The `findfont`
66
function returns the best TrueType (TTF) font file in the local or
77
system font path that matches the specified `FontProperties`
@@ -11,6 +11,10 @@
1111
The design is based on the `W3C Cascading Style Sheet, Level 1 (CSS1)
1212
font specification <http://www.w3.org/TR/1998/REC-CSS2-19980512/>`_.
1313
Future versions may implement the Level 2 or 2.1 specifications.
14+
15+
.. data:: fontManager
16+
17+
The singleton instance of `FontManager`.
1418
"""
1519

1620
# KNOWN ISSUES

0 commit comments

Comments
 (0)