Skip to content

[DOC]: adding a grid to the style sheet reference. - #24020

Merged
jklymak merged 6 commits into
matplotlib:mainfrom
kostyafarber:issue-23601
Oct 1, 2022
Merged

jklymak merged 6 commits into
matplotlib:mainfrom
kostyafarber:issue-23601

Conversation

@kostyafarber

@kostyafarber kostyafarber commented Sep 27, 2022 •

Copy link
Copy Markdown
Contributor

PR Summary

This PR adds gridlines to the last plot in the stylesheets example and adds an annotation ax.grid(True) as well as a divider to clearly distinguish between subplots. This addresses #23601

PR Checklist

Tests and Styling

  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

@kostyafarber
kostyafarber marked this pull request as draft September 27, 2022 14:45

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a while, please feel free to ping @matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide

We strive to be a welcoming and open project. Please follow our Code of Conduct.

@kostyafarber kostyafarber reopened this Sep 27, 2022
@kostyafarber
kostyafarber marked this pull request as ready for review September 27, 2022 15:08
@kostyafarber kostyafarber changed the title add divider and annotation. [DOC]: add divider and annotation. #23601 Sep 27, 2022
@kostyafarber kostyafarber changed the title [DOC]: add divider and annotation. #23601 [DOC]: add divider and annotation. Sep 27, 2022
kostyafarber and others added 2 commits September 27, 2022 18:09
Co-authored-by: Kinza Raza <kanza.imran@careem.com>
@kostyafarber

kostyafarber commented Sep 27, 2022 •

Copy link
Copy Markdown
Contributor Author

Added @Kinza-Raza as co-author of commit.

Comment thread examples/style_sheets/style_sheets_reference.py Outdated
@QuLogic

QuLogic commented Sep 27, 2022

Copy link
Copy Markdown
Member

Please title the commit/PR correctly. You are adding a grid to the style sheet reference, not a divider and annotation. The latter is an implementation detail of the former.

@kostyafarber

Copy link
Copy Markdown
Contributor Author

No worries will change the PR title.

@kostyafarber kostyafarber changed the title [DOC]: add divider and annotation. [DOC]: adding a grid to the style sheet reference. Sep 28, 2022
@kostyafarber

Copy link
Copy Markdown
Contributor Author

@QuLogic changed the PR title.

@kostyafarber

Copy link
Copy Markdown
Contributor Author

@jklymak let me know if I need to do anything else. Thanks!

Comment thread examples/style_sheets/style_sheets_reference.py Outdated
Co-authored-by: Jody Klymak <jklymak@gmail.com>
Comment thread examples/style_sheets/style_sheets_reference.py Outdated
Co-authored-by: Jody Klymak <jklymak@gmail.com>
@jklymak

jklymak commented Oct 1, 2022

Copy link
Copy Markdown
Member

Thanks for your work and patience with this @kostyafarber . I think this looks good, and should be helpful for folks curious about what happens if they turn the grid on.

@jklymak
jklymak merged commit fd5cf5c into matplotlib:main Oct 1, 2022
@kostyafarber
kostyafarber deleted the issue-23601 branch October 2, 2022 16:00
@QuLogic QuLogic added this to the v3.7.0 milestone Oct 4, 2022
ameligrana pushed a commit to ameligrana/matplotlib that referenced this pull request Oct 18, 2022
* add divider and annotation.

Co-authored-by: Kinza Raza <kanza.imran@careem.com>

* fix flake8

* change from annotate to title

* Update examples/style_sheets/style_sheets_reference.py

Co-authored-by: Jody Klymak <jklymak@gmail.com>

* Update examples/style_sheets/style_sheets_reference.py

Co-authored-by: Jody Klymak <jklymak@gmail.com>

Co-authored-by: Kinza Raza <kanza.imran@careem.com>
Co-authored-by: Jody Klymak <jklymak@gmail.com>
melissawm pushed a commit to melissawm/matplotlib that referenced this pull request Dec 19, 2022
* add divider and annotation.

Co-authored-by: Kinza Raza <kanza.imran@careem.com>

* fix flake8

* change from annotate to title

* Update examples/style_sheets/style_sheets_reference.py

Co-authored-by: Jody Klymak <jklymak@gmail.com>

* Update examples/style_sheets/style_sheets_reference.py

Co-authored-by: Jody Klymak <jklymak@gmail.com>

Co-authored-by: Kinza Raza <kanza.imran@careem.com>
Co-authored-by: Jody Klymak <jklymak@gmail.com>
imgbot Bot pushed a commit to kkipngenokoech/matplotlib that referenced this pull request Apr 19, 2026
* add divider and annotation.

Co-authored-by: Kinza Raza <kanza.imran@careem.com>

* fix flake8

* change from annotate to title

* Update examples/style_sheets/style_sheets_reference.py

Co-authored-by: Jody Klymak <jklymak@gmail.com>

* Update examples/style_sheets/style_sheets_reference.py

Co-authored-by: Jody Klymak <jklymak@gmail.com>

Co-authored-by: Kinza Raza <kanza.imran@careem.com>
Co-authored-by: Jody Klymak <jklymak@gmail.com>
imgbot Bot pushed a commit to kkipngenokoech/matplotlib that referenced this pull request Apr 19, 2026
* add divider and annotation.

Co-authored-by: Kinza Raza <kanza.imran@careem.com>

* fix flake8

* change from annotate to title

* Update examples/style_sheets/style_sheets_reference.py

Co-authored-by: Jody Klymak <jklymak@gmail.com>

* Update examples/style_sheets/style_sheets_reference.py

Co-authored-by: Jody Klymak <jklymak@gmail.com>

Co-authored-by: Kinza Raza <kanza.imran@careem.com>
Co-authored-by: Jody Klymak <jklymak@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants