8000 [Doc]: add how to know available fonts... · Issue #21761 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
[Doc]: add how to know available fonts... #21761
Closed
@jklymak

Description

@jklymak

Documentation Link

https://matplotlib.org/stable/tutorials/text/text_props.html#default-font

Problem

In https://matplotlib.org/stable/tutorials/text/text_props.html#default-font we are told that we can use any "available fonts" for fontfamily. It would be nice if this tutorial, or another, indicated how to get that list of available fonts, and then specfically how to specify them in fontfamily. I tried a couple of things on stack overflow, but font family does not appear to accept full strings like "Times New Roman", so I assume I need to specify something more low level?

Overall I find font handling still quite confusing, and it seems it requires deeper knwoledge than most users are going to have (or its explained somewhere that is not adequately cross linked).

Suggested improvement

No response

Matplotlib Version

main

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationGood first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0