We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 966e463 commit 42c4e11Copy full SHA for 42c4e11
1 file changed
workflow/scripts/area_potential.py
@@ -3,6 +3,7 @@
3
import click
4
import geo
5
import geopandas as gpd
6
+import matplotlib.pyplot as plt
7
import xarray as xr
8
import yaml
9
@@ -96,8 +97,8 @@ def get_area_potential(
96
97
potential_da = potential_da.transpose("band", "y", "x")
98
potential_da.rio.to_raster(output_path, driver="GTiff", compress="LZW")
99
- plot = potential_da.plot()
100
- plot.savefig(plot_path, bbox_inches="tight")
+ potential_da.plot()
101
+ plt.savefig(plot_path, bbox_inches="tight")
102
103
104
if __name__ == "__main__":
0 commit comments