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