Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MEP12 ganged example #8229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 16, 2017
Merged

MEP12 ganged example #8229

merged 5 commits into from
Mar 16, 2017

Conversation

dstansby
Copy link
Member

@dstansby dstansby commented Mar 7, 2017

Documentation! (+ everyone ❤️ plt.subplots())

==========================

To create plots that share a common axes (visually) you can set the
hspace between the subplots close to zero (do not use zero itself). Passing
Copy link
Contributor

Choose a reason for hiding this comment

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

Using zero seems to work, perhaps it was an old limitation. Please check, and remove this note and use 0 below instead of 0.001, if you agree.

Copy link
Member

@NelleV NelleV left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@NelleV NelleV changed the title MEP12 ganged example [MRG+1] MEP12 ganged example Mar 8, 2017
Copy link
Contributor

@anntzer anntzer left a comment

Choose a reason for hiding this comment

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

More spelling/idomatic English.

sharex=True when creating the subplots will automatically turn of all x ticks
and labels apart from on the bottom axis.
hspace between the subplots to zero. Passing sharex=True when creating the
subplots will automatically turn of all x ticks and labels apart from on the
Copy link
Contributor

Choose a reason for hiding this comment

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

turn off (two f's)
apart from -> except(?)

Copy link
Contributor

@anntzer anntzer left a comment

Choose a reason for hiding this comment

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

more minor stuff...

Creating adjacent subplots
==========================

To create plots that share a common axes (visually) you can set the
Copy link
Contributor

Choose a reason for hiding this comment

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

a common axis (singular) (?)

subplots will automatically turn off all x ticks and labels except those on the
bottom axis.

In this example the plots share a common xaxis but you can follow the
Copy link
Contributor

Choose a reason for hiding this comment

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

x axis (with a space) (or at least be consistent just below when you write y axis)

@NelleV NelleV added the MEP: MEP12 gallery and examples improvements label Mar 11, 2017
@NelleV
Copy link
Member

NelleV commented Mar 16, 2017

@anntzer do you mind having a look at this PR again?

@anntzer anntzer merged commit b9b6d52 into matplotlib:master Mar 16, 2017
@anntzer
Copy link
Contributor

anntzer commented Mar 16, 2017

Thanks!

@QuLogic QuLogic changed the title [MRG+1] MEP12 ganged example MEP12 ganged example Mar 16, 2017
@QuLogic QuLogic added this to the 2.1 (next point release) milestone Mar 16, 2017
@dstansby dstansby deleted the ganged-example branch April 2, 2017 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation MEP: MEP12 gallery and examples improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants