Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Doc]: FontManager docs should mention the singleton is namedfontManager #22586

Closed
@twm

Description

@twm

Documentation Link

https://matplotlib.org/devdocs/api/font_manager_api.html

Problem

The reference documentation for theFontManager class says that there is a singleton:

This module provides a singleFontManager instance that can be shared across backends and platforms.

However, it doesn't mention that this singleton is namedfontManager.

Suggested improvement

  • The docstring should clarify that the singleton is namedfontManager, rather than implying that theFontManager class is a singleton:

    This module provides a single `FontManager` instance, `fontManager`, that is shared across backends and platforms.
  • ThefontManager instance should be documented as a global variable:

    ..data::fontManager    The singleton instance of:class:`FontManager`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp