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

Skip to content

Commit 63fad3b

Browse files
authored
Merge pull request #20726 from larsoner/dep-doc
DOC: Provide alternative to cbar.patch
2 parents 62c1588 + 22031ab commit 63fad3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def __init__(self, ax, mappable=None, *, cmap=None,
489489
self.add_lines(mappable)
490490

491491
# Also remove ._patch after deprecation elapses.
492-
patch = _api.deprecate_privatize_attribute("3.5")
492+
patch = _api.deprecate_privatize_attribute("3.5", alternative="ax")
493493

494494
def update_normal(self, mappable):
495495
"""

0 commit comments

Comments
 (0)