Skip to content

[ENH]: Global setting to make /mathdefault the default math type  #22937

@qzhang234

Description

@qzhang234

Problem

I am trying to generate scientific journal compatible figures in Matplotlib. Most of the journals have specific font requirements (e.g. Times New Roman) and I find myself typing something like $\mathdefault{_x}$ instead of just ${_x}$ throughout the script, which reduces the readability of the scrpit.

Proposed solution

Is it possible to have a global setting like matplotlib.rcParams that can be set once for the entire figure?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions