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

DOC: Add more 3D plot types#28243

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

Merged
timhoffm merged 1 commit intomatplotlib:mainfromscottshambaugh:3d_plot_types
May 17, 2024

Conversation

scottshambaugh
Copy link
Contributor

@scottshambaughscottshambaugh commentedMay 17, 2024
edited
Loading

PR summary

We were missing a good number of 3D plot types on this page:https://matplotlib.org/stable/plot_types/
I added examples forplot,quiver,bar3d, andstem.

image

PR checklist

stonebig reacted with heart emoji
@scottshambaughscottshambaugh added the Documentation: plot typesfiles in galleries/plot_types labelMay 17, 2024
@scottshambaughscottshambaugh marked this pull request as ready for reviewMay 17, 2024 06:08
@@ -0,0 +1,27 @@
"""
================
plot(xs, ys, zs)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
plot(xs,ys,zs)
plot(x,y,z)

For consistency. Best also change the variable names below.

oh, I see, the existing scatter() was using this convention, but that's really the odd ball and should be changed as well.

Copy link
ContributorAuthor

@scottshambaughscottshambaughMay 17, 2024
edited
Loading

Choose a reason for hiding this comment

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

TheAxes3D.plot function hasxs,ys, andzs as the argument names, I figure it's best to be consistent with that?
https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.plot.html#mpl_toolkits.mplot3d.axes3d.Axes3D.plot

timhoffm reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Add it to the list of annoying API inconsistencies

timhoffm reacted with confused emoji
@timhoffmtimhoffm added this to thev3.9.1 milestoneMay 17, 2024
@timhoffmtimhoffm merged commit4775209 intomatplotlib:mainMay 17, 2024
20 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestMay 17, 2024
timhoffm added a commit that referenced this pull requestMay 17, 2024
…243-on-v3.9.xBackport PR#28243 on branch v3.9.x (DOC: Add more 3D plot types)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
Documentation: plot typesfiles in galleries/plot_types
Projects
None yet
Milestone
v3.9.1
Development

Successfully merging this pull request may close these issues.

2 participants
@scottshambaugh@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp