Skip to content

Commit 016982f

Browse files
committed
Remove unneeded del
1 parent 17faa31 commit 016982f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

niworkflows/viz/plots.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,6 @@ def get_surface_meshes(density, surface_type):
10621062
if output_file is not None:
10631063
figure.savefig(output_file, bbox_inches="tight")
10641064
plt.close(figure)
1065-
del figure
10661065
return output_file
10671066

10681067
return figure

0 commit comments

Comments
 (0)