Fixed problem with prettymaps.plot() 'save_as' parameter

This commit is contained in:
marceloprates
2022-11-16 10:41:53 -03:00
parent f03d71f7da
commit 3f3b8be923

View File

@@ -976,7 +976,7 @@ def plot(
)
# Save result
if save_as:
img.save(save_as)
plt.savefig(save_as)
if not show:
plt.close()