Skip to content
Snippets Groups Projects
Commit cb7ec061 authored by lukas leufen's avatar lukas leufen
Browse files

Merge branch 'lukas_issue231_feat_add-number-of-stations-to-station-map-legend' into 'develop'

Resolve "Add number of stations to Station Map legend"

See merge request toar/mlair!211
parents 078a5990 96d5baa4
No related branches found
No related tags found
3 merge requests!226Develop,!225Resolve "release v1.2.0",!211Resolve "Add number of stations to Station Map legend"
Pipeline #55391 passed with warnings
......@@ -292,7 +292,7 @@ class PlotStationMap(AbstractPlotClass):
mfc = plot_opts.get("mfc", default_colors.get(name, "b"))
legend_elements.append(
mlines.Line2D([], [], mfc=mfc, mec=mec, marker=self._adjust_marker(marker), ms=ms, linestyle='None',
label=name))
label=f"{name} ({len(data_collection)})"))
for station in data_collection:
coords = station.get_coordinates()
IDx, IDy = coords["lon"], coords["lat"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment