Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Document rasterized parameter in pcolormesh() explicitly #18956

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 7 commits into from
Nov 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5834,6 +5834,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
differences see :ref:`Differences between pcolor() and pcolormesh()
<differences-pcolor-pcolormesh>`.


Parameters
----------
C : array-like
Expand Down Expand Up @@ -5925,6 +5926,10 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
snap : bool, default: False
Whether to snap the mesh to pixel boundaries.

rasterized: bool, optional
Rasterize the pcolormesh before drawing. Can produce images
faster and make smaller files for large data sets.

Returns
-------
`matplotlib.collections.QuadMesh`
Expand Down