Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@@ -0,0 +1,27 @@ | |||
""" | |||
================ | |||
plot(xs, ys, zs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
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.
scottshambaughMay 17, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
4775209
intomatplotlib:mainUh oh!
There was an error while loading.Please reload this page.
…243-on-v3.9.xBackport PR#28243 on branch v3.9.x (DOC: Add more 3D plot types)
Uh oh!
There was an error while loading.Please reload this page.
PR summary
We were missing a good number of 3D plot types on this page:https://matplotlib.org/stable/plot_types/
I added examples for
plot
,quiver
,bar3d
, andstem
.PR checklist