Skip to content

Commit

Permalink
[MODIFY] removed file saving logic from
Browse files Browse the repository at this point in the history
  • Loading branch information
rutkovskii committed Sep 17, 2024
1 parent fc71cc7 commit a12df02
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions examples/plot_custom_precipitation_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@
plt.tight_layout()
plt.show()

# Save the plot if needed
# plt.savefig("precipitation.png", bbox_inches="tight", pad_inches=0.1)
# print("The precipitation field has been plotted and saved as precipitation.png")


###############################################################################
# Define the custom colormap
# --------------------------
Expand Down Expand Up @@ -146,7 +141,3 @@ def build_colormap(self):

plt.tight_layout()
plt.show()

# Save the plot if needed
plt.savefig("precipitation_custom.png", bbox_inches="tight")
print("The precipitation field has been plotted and saved as precipitation_custom.png")

0 comments on commit a12df02

Please sign in to comment.