X Tutup
Skip to content

Docs edits#7574

Merged
tacaswell merged 4 commits intomatplotlib:masterfrom
danielballan:docs-edits
Dec 7, 2016
Merged

Docs edits#7574
tacaswell merged 4 commits intomatplotlib:masterfrom
danielballan:docs-edits

Conversation

@danielballan
Copy link
Copy Markdown
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).

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

phobson commented Dec 6, 2016

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

old.set_title('Old boxplots')
old.set_title('classic')

new.set_ylim(bottom=0)
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

X Tutup