Commit 2efc8e58 authored by Paulo Medeiros's avatar Paulo Medeiros
Browse files

Minor linting fixes.

parent 2096ca4f
Pipeline #9735 failed with stages
in 7 minutes and 22 seconds
......@@ -145,7 +145,10 @@ def _select_stations_single_dtg(dtg, config, args):
df, df_moving = remove_irregular_stations(df)
df = cluster_netatmo_obs(
df=df, config=config, n_jobs=cpu_share, calc_silhouette_samples=False,
df=df,
config=config,
n_jobs=cpu_share,
calc_silhouette_samples=False,
)
selected_cols = ["id", "lat", "lon", "alt"]
......@@ -446,6 +449,9 @@ def csv2obsoul(args):
Args:
args (argparse.Namespace): Parsed command line arguments.
Raises:
NotImplementedError: If args.selected_stations_fpath is not a CSV.
"""
config = read_config(args.config_file)
......@@ -581,7 +587,11 @@ def show(args):
fig = domain.get_fig(display_grid_max_gsize=20000.0)
fig.update_layout(
legend=dict(
orientation="h", xanchor="center", x=0.5, yanchor="top", y=0.0,
orientation="h",
xanchor="center",
x=0.5,
yanchor="top",
y=0.0,
)
)
fig.show(config=DEF_FIGSHOW_CONFIG)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment