Skip to content

Docs edits #7574

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 4 commits into from
Dec 7, 2016
Merged

Docs edits #7574

merged 4 commits into from
Dec 7, 2016

Conversation

danielballan
Copy link
Contributor

Congrats on the release!

Reading through the API changes, I was impressed by the detailed instructions for rolling back any given style change (if possible). Very thorough work!

I found some small typos and a placeholder that probably was not meant to be included in the rc. If someone can point me to the relevant issue, I will add a commit properly replacing the placeholder (rather than just deleting it).

@@ -426,11 +426,11 @@ obscuring data too much.
fig, (old, new) = plt.subplots(ncols=2, sharey=True)
with plt.style.context('default'):
new.boxplot(data, labels=['A', 'B', 'C', 'D'])
new.set_title('New boxplots')
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this (And below) is reversed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, yes. Fixed and force-pushed.




TEMPORARY NOTES TOM IS KEEPING IN THE SOURCE SO THEY DO NOT GET LOST
Copy link
Member

Choose a reason for hiding this comment

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

this is here so I remember to do something about it!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, I can remove that commit if you like. Above, I volunteered to do something about it (other than delete it).

Copy link
Member

Choose a reason for hiding this comment

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

I'm just going to merge this as-is, an make a note on 'paper' to do something about this.

@phobson
Copy link
Member

phobson commented Dec 6, 2016

@danielballan can you set the y-scales to 'log' while your fixing this?


with plt.style.context('classic'):
old.boxplot(data, labels=['A', 'B', 'C', 'D'])
old.set_title('Old boxplots')
old.set_title('classic')

new.set_ylim(bottom=0)
Copy link
Member

Choose a reason for hiding this comment

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

If we log-scale the y-axes, this line will need to go.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, a log scale would make it easier to see the components here. Done.

@QuLogic QuLogic added this to the 2.0 (style change major release) milestone Dec 6, 2016
@tacaswell tacaswell merged commit d67e3e8 into matplotlib:master Dec 7, 2016
tacaswell added a commit that referenced this pull request Dec 7, 2016
@tacaswell
Copy link
Member

backported to v2.x as f2c145e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants