diff --git a/src/ert/gui/tools/plot/plottery/plots/histogram.py b/src/ert/gui/tools/plot/plottery/plots/histogram.py index 0eaa504c69f..1c250ffdfca 100644 --- a/src/ert/gui/tools/plot/plottery/plots/histogram.py +++ b/src/ert/gui/tools/plot/plottery/plots/histogram.py @@ -133,6 +133,9 @@ def plotHistogram( ), ) else: + if minimum is not None and maximum is not None and minimum == maximum: + minimum -= 0.1 + maximum += 0.1 config.addLegendItem( ensemble.name, _plotHistogram(