Skip to content

Impossible to configure minor/major grid line style independently in rcParams #13919

Closed
@NGJROMO

Description

@NGJROMO

Hi,

As far as I can see, the only customization to the grid that is possible right now in rcParams is:

mpl.rcParams['grid.color']  
mpl.rcParams['grid.alpha']
mpl.rcParams['grid.linewidth']
mpl.rcParams['grid.linestyle']

Is it possible to change these keys so that it is possible to configure minor and major grid line styles independently from each other?

Something like:

mpl.rcParams['grid.minor.color']  
mpl.rcParams['grid.minor.alpha']
mpl.rcParams['grid.minor.linewidth']
mpl.rcParams['grid.minor.linestyle']
mpl.rcParams['grid.major.color']  
mpl.rcParams['grid.major.alpha']
mpl.rcParams['grid.major.linewidth']
mpl.rcParams['grid.major.linestyle']

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!New featuretopic: rcparams

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions