diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 01d6add25184..00457a29dfb8 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -402,6 +402,10 @@ class _AxesBase(martist.Artist): _shared_y_axes = cbook.Grouper() _twinned_axes = cbook.Grouper() + @property + def _hold(self): + return True + def __str__(self): return "{0}({1[0]:g},{1[1]:g};{1[2]:g}x{1[3]:g})".format( type(self).__name__, self._position.bounds)