Skip to content

Document filling of Poly3DCollection #16648

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 1 commit into from
Mar 13, 2020

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Mar 3, 2020

PR Summary

Closes #16633, by documenting the limitations and linking to plot_trisurf as a better way to create filled surfaces.

The calculation method for the z-order.
See `~.Poly3DCollection.set_zsort` for details.
*args, **kwargs
All other parameters are forwarded to `.PolyCollection`.
Copy link
Contributor

Choose a reason for hiding this comment

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

What does . mean at the beginning of a reference? Is this a sphinx thing, or something specific to matplotlib?

Choose a reason for hiding this comment

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

It's a "sphinx thing". But there is documentation on it in the matplotlib dev guide: https://matplotlib.org/devdocs/devel/documenting_mpl.html#referring-to-other-code

Copy link
Member Author

Choose a reason for hiding this comment

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

@timhoffm timhoffm modified the milestones: v3.3.0, v3.2.1 Mar 5, 2020
to an incorrect visualization of the 3D area.

If you need filled areas, it is recommended to create them via
`~mpl_toolkits.mplot3d.axes3d.Axes3D.plot_trisurf`, which creates a
Copy link
Contributor

Choose a reason for hiding this comment

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

I would just write .Axes3D.plot_trisurf (or ~.Axes3D.plot_trisurf).
Can self-merge with or without that change.

@tacaswell tacaswell merged commit fdeeac6 into matplotlib:master Mar 13, 2020
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Mar 13, 2020
QuLogic added a commit that referenced this pull request Mar 14, 2020
…648-on-v3.2.x

Backport PR #16648 on branch v3.2.x (Document filling of Poly3DCollection)
@timhoffm timhoffm deleted the poly3dcollection branch March 14, 2020 08:52
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.

Wrong drawing Poly3DCollection
5 participants