diff --git a/ush/SpatialTemporalStatsTool/SpatialTemporalStats.py b/ush/SpatialTemporalStatsTool/SpatialTemporalStats.py index d3c1039..53280cd 100644 --- a/ush/SpatialTemporalStatsTool/SpatialTemporalStats.py +++ b/ush/SpatialTemporalStatsTool/SpatialTemporalStats.py @@ -264,14 +264,11 @@ def plot_obs(self, selected_var_gdf, var_name, region, resolution, output_path): cmap = "jet" if item == "Obs_Minus_Forecast_adjusted_Count": - cbar_label = ( - "grid=%dx%d, min=%.3lf, max=%.3lf\n" - % ( - resolution, - resolution, - min_val, - max_val, - ) + cbar_label = "grid=%dx%d, min=%.3lf, max=%.3lf\n" % ( + resolution, + resolution, + min_val, + max_val, ) else: cbar_label = ( @@ -285,8 +282,7 @@ def plot_obs(self, selected_var_gdf, var_name, region, resolution, output_path): std_val, ) ) - - + filtered_gdf.plot( ax=ax, cmap=cmap, @@ -574,7 +570,7 @@ def parse_filter(s): metavar="DIR", type=str, ) - + parser.add_argument( "-sensor", dest="sensor",