We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fontManager
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://matplotlib.org/devdocs/api/font_manager_api.html
The reference documentation for the FontManager class says that there is a singleton:
FontManager
This module provides a single FontManager instance that can be shared across backends and platforms.
However, it doesn't mention that this singleton is named fontManager.
The docstring should clarify that the singleton is named fontManager, rather than implying that the FontManager class is a singleton:
This module provides a single `FontManager` instance, `fontManager`, that is shared across backends and platforms.
The fontManager instance should be documented as a global variable:
.. data:: fontManager The singleton instance of :class:`FontManager`
The text was updated successfully, but these errors were encountered:
Add documention for fontManager. Closes matplotlib#22586
3fcfff6
b57b39b
3377656
Successfully merging a pull request may close this issue.
Documentation Link
https://matplotlib.org/devdocs/api/font_manager_api.html
Problem
The reference documentation for the
FontManager
class says that there is a singleton:However, it doesn't mention that this singleton is named
fontManager
.Suggested improvement
The docstring should clarify that the singleton is named
fontManager
, rather than implying that theFontManager
class is a singleton:The
fontManager
instance should be documented as a global variable:The text was updated successfully, but these errors were encountered: