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

Skip to content

Commit 22031ab

Browse files
committed
DOC: Provide alternative to cbar.patch
1 parent 62c1588 commit 22031ab

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)