Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f4a7fea

Browse filesBrowse files
authored
Merge pull request #12274 from tacaswell/mnt_be_nice_about_hold
MNT: put back `_hold` as read-only attribute on AxesBase
2 parents 5cbc072 + 239a28b commit f4a7fea
Copy full SHA for f4a7fea

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,10 @@ class _AxesBase(martist.Artist):
399399
_shared_y_axes = cbook.Grouper()
400400
_twinned_axes = cbook.Grouper()
401401

402+
@property
403+
def _hold(self):
404+
return True
405+
402406
def __str__(self):
403407
return "{0}({1[0]:g},{1[1]:g};{1[2]:g}x{1[3]:g})".format(
404408
type(self).__name__, self._position.bounds)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.