diff --git a/src/ert/gui/plottery/plots/ensemble.py b/src/ert/gui/plottery/plots/ensemble.py index b045b1b395c..9d24e270952 100644 --- a/src/ert/gui/plottery/plots/ensemble.py +++ b/src/ert/gui/plottery/plots/ensemble.py @@ -46,7 +46,7 @@ def plot( plot_context.deactivateDateSupport() plot_context.x_axis = plot_context.INDEX_AXIS - draw_style = "steps" if is_rate(plot_context.key()) else None + draw_style = "steps-pre" if is_rate(plot_context.key()) else None self._plotLines( axes, config, diff --git a/tests/unit_tests/shared/test_rate_keys.py b/tests/unit_tests/shared/test_rate_keys.py index b2eb8d07a74..bed7788d617 100644 --- a/tests/unit_tests/shared/test_rate_keys.py +++ b/tests/unit_tests/shared/test_rate_keys.py @@ -48,7 +48,7 @@ def test_is_rate_does_not_raise_error(key): ] -@given(st.sampled_from(examples)) +@given(example=st.sampled_from(examples)) def test_is_rate_determmines_rate_key(example): key, rate = example is_rate_bool = is_rate(key)