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

Skip to content

Commit c486cd7

Browse files
Document rasterized parameter in pcolormesh() explicitly (#18956)
* Update _axes.py for #17708 Update _axes.py to include mentions of rasterization within pcolormesh fixes #17708 * Update _axes.py * Update _axes.py * Update _axes.py * Update lib/matplotlib/axes/_axes.py Co-authored-by: Jody Klymak <[email protected]> * Update lib/matplotlib/axes/_axes.py Co-authored-by: Jody Klymak <[email protected]> * Update _axes.py Co-authored-by: Jody Klymak <[email protected]>
1 parent 48031d8 commit c486cd7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5834,6 +5834,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
58345834
differences see :ref:`Differences between pcolor() and pcolormesh()
58355835
<differences-pcolor-pcolormesh>`.
58365836
5837+
58375838
Parameters
58385839
----------
58395840
C : array-like
@@ -5925,6 +5926,10 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
59255926
snap : bool, default: False
59265927
Whether to snap the mesh to pixel boundaries.
59275928
5929+
rasterized: bool, optional
5930+
Rasterize the pcolormesh before drawing. Can produce images
5931+
faster and make smaller files for large data sets.
5932+
59285933
Returns
59295934
-------
59305935
`matplotlib.collections.QuadMesh`

0 commit comments

Comments
 (0)