You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support individual styling of major and minor grid through rcParams (matplotlib#29481)
* Possible fix for issue matplotlib#13919
* fix flake warnings
* Resolve suggested changes
* Add new validators in stub file
* make stub file arguments same as runtime
* Add distinction for x and y axis in grid line options
* fix flake8
* Add What's New note
* Extend `_val_or_rc` to support multiply names
`_val_or_rc` now accept multiple rc names and return val or the first non-None value in rcParams. Returns last rc name if all other are None. Also, simplified code in `Tick` for grid lines creatation
* Fix linting for and _validate_linestyle_or_None to mypy allowlist
* Remove validate linestyle functions from stubtest allow list
* Revert change to just grid.major/minor distinction in rcParams
* Update What's New note and reduced example
* Add testing for `grid.major/minor.*` in rcParams
* fix indentation and linting
* Fix example description
* Fix spelling
* Fix type
* Fix formatting
Removed outer brackets
* `validate_color_or_None` private and fix argument names
* Fix validator name in stub file as well
* correct validators for grid.*.color keys
* Revert change in mypy-stubtest-allowlist.txt
---------
Co-authored-by: Tim Hoffmann <[email protected]>
0 commit comments