diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 712c9f097371..25743b99b17c 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -399,6 +399,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)