Skip to content

Commit

Permalink
Remove unused type ignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSava committed Dec 23, 2024
1 parent e4f8624 commit 855c517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ert/gui/tools/plot/plottery/plots/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def plotHistogram(
else:
current_min = data[ensemble.name].min()
current_max = data[ensemble.name].max()
minimum = current_min if minimum is None else min(minimum, current_min) # type: ignore
maximum = current_max if maximum is None else max(maximum, current_max) # type: ignore
minimum = current_min if minimum is None else min(minimum, current_min)
maximum = current_max if maximum is None else max(maximum, current_max)
max_element_count = max(max_element_count, len(data[ensemble.name].index))

bin_count = ceil(sqrt(max_element_count))
Expand Down

0 comments on commit 855c517

Please sign in to comment.