Skip to content
Snippets Groups Projects
Commit ab9e95ba authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Remove check for axes.hold

It has been deprecated in matplotlib for a long time
and is removed in 3.0. Callers should clear the axes
themselves if thay is appropriate.
parent ef136b0a
No related branches found
No related tags found
No related merge requests found
...@@ -211,8 +211,6 @@ def imshow(axes, X, cmap=None, norm=None, aspect=None, ...@@ -211,8 +211,6 @@ def imshow(axes, X, cmap=None, norm=None, aspect=None,
Unlike matplotlib version, must explicitly specify axes Unlike matplotlib version, must explicitly specify axes
""" """
if not axes._hold:
axes.cla()
if norm is not None: if norm is not None:
assert(isinstance(norm, mcolors.Normalize)) assert(isinstance(norm, mcolors.Normalize))
if aspect is None: if aspect is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment