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 <56431339+StephenSmith25@users.noreply.github.com>
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.append(im.axes)
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