Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve layout of Fill Betweenx Demo#12000

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

timhoffm
Copy link
Member

@timhoffmtimhoffm commentedSep 2, 2018
edited
Loading

PR Summary

The layout of theFill Betweenx Demo is a bit cramped.

This PR fixes this by changing from a row layout to a column layout. It includes some minor text cleanup as well.

New layout

@timhoffmtimhoffm added this to thev3.1 milestoneSep 2, 2018
@@ -13,35 +14,35 @@
x1 = np.sin(2 * np.pi * y)
x2 = 1.2 * np.sin(4 * np.pi * y)

fig, [ax1, ax2, ax3] = plt.subplots(3, 1, sharex=True)
fig, [ax1, ax2, ax3] = plt.subplots(1, 3, sharey=True, figsize=(6, 6))
Copy link
Member

Choose a reason for hiding this comment

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

Would this demo be helped by constrained_layout=True?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Not in particular. The main issue is that the suplots were stacked vertically. This squeezes the y axis stongly so that it's hard to see what's going on. I just changed to stacking horizontally. This looks ok even without constrainedlayout. I've linked the result in the first post above.

@jklymakjklymak modified the milestones:v3.1,v2.2-docSep 2, 2018
@jklymakjklymak merged commit7a45b64 intomatplotlib:masterSep 2, 2018
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestSep 2, 2018
@timhoffmtimhoffm deleted the fill_betweenx-example_orientation branchSeptember 2, 2018 21:51
QuLogic added a commit that referenced this pull requestSep 3, 2018
…000-on-v2.2.3-docBackport PR#12000 on branch v2.2.3-doc (Improve layout of Fill Betweenx Demo)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.2-doc
Development

Successfully merging this pull request may close these issues.

2 participants
@timhoffm@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp