Commit 9c9a69ce authored by Alice Russell's avatar Alice Russell Committed by Alice Russell
Browse files

Apply suggestions from code review

Co-authored-by: default avatarStephenSmith25 <>
parent fed300ad
......@@ -1060,8 +1060,6 @@ def get_images_from_figure(figure):
def get_axes_from_figure(figure):
"""Return a list of axes in the given figure excluding any colorbar axes"""
images = get_images_from_figure(figure)
axes = []
for im in images:
axes = [img.axes for img in images]
return axes
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment