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

Skip to content

Commit 1e70609

Browse files
committed
Make QuadMesh arguments with defaults keyword_only
1 parent 3bf56aa commit 1e70609

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
QuadMesh keyword only parameters
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
``QuadMesh`` parameters ``antialiased`` and ``shading`` will become
4+
keyword-only in a future version.

lib/matplotlib/collections.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1991,6 +1991,7 @@ class QuadMesh(Collection):
19911991
19921992
*shading* may be 'flat', or 'gouraud'
19931993
"""
1994+
@_api.make_keyword_only("3.5", "antialiased")
19941995
def __init__(self, meshWidth, meshHeight, coordinates,
19951996
antialiased=True, shading='flat', **kwargs):
19961997
super().__init__(**kwargs)

0 commit comments

Comments
 (0)