mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-08-22 06:03:29 +02:00
Fixed problem with prettymaps.plot() 'save_as' parameter
This commit is contained in:
@@ -976,7 +976,7 @@ def plot(
|
||||
)
|
||||
# Save result
|
||||
if save_as:
|
||||
img.save(save_as)
|
||||
plt.savefig(save_as)
|
||||
if not show:
|
||||
plt.close()
|
||||
|
||||
|
Reference in New Issue
Block a user