Skip to content

Commit

Permalink
fixed sonarcloud bug
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer committed Jun 20, 2024
1 parent 9e408f1 commit eb094fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kenmerkendewaarden/overschrijding.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,10 @@ def plot_overschrijding(dist: dict):
fig, ax = plt.subplots(figsize=(8, 6))

for k in dist.keys():
c = color_map[k] if (color_map is not None) and (k in color_map.keys()) else None
if k in color_map.keys():
c = color_map[k]
else:
c = None
if k=='Gecombineerd':
ax.plot(dist[k]['values_Tfreq'], dist[k]['values'], '--', label=k, c=c)
elif k=='Geinterpoleerd':
Expand Down

0 comments on commit eb094fa

Please sign in to comment.