Skip to content

Commit eea823e

Browse files
committed
Fixups
1 parent 2409c30 commit eea823e

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/ert/gui/plotting/ert_plots/waterfall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def _plot_waterfall(
190190
)
191191

192192
plot_context.plot_type = PlotType.BAR
193-
PlotTools.finalizePlot(
193+
PlotTools.finalize_plot(
194194
plot_context,
195195
figure,
196196
ax,

src/ert/gui/plotting/plot_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def has_kalman_gain(self, ensemble_id: str) -> bool:
597597
with create_ertserver_client(self.ens_path) as client:
598598
http_response = client.get(
599599
f"/ensembles/{ensemble_id}/blobs",
600-
timeout=self._timeout,
600+
timeout=TIMEOUT,
601601
)
602602
if http_response.status_code != 200:
603603
return False
@@ -615,7 +615,7 @@ def data_for_waterfall(
615615
http_response = client.get(
616616
f"/ensembles/{ensemble_id}/waterfall/{PlotApi.escape(parameter_key)}",
617617
params={"nobservations": nobservations},
618-
timeout=self._timeout,
618+
timeout=TIMEOUT,
619619
)
620620
if http_response.status_code != 200:
621621
return pd.DataFrame()

src/ert/gui/plotting/plot_window.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,6 @@ def update_plot(self, layer: int | None = None) -> None:
423423
elif not self.is_everest:
424424
self._ensemble_selection_widget.reset_maximum_ensemble_limit_to_default()
425425

426-
if not self.is_everest:
427-
max_selected = self._ensemble_selection_widget.get_maximum_ensemble_limit()
428-
self._ensemble_group.setTitle(f"Select up to {max_selected} ensembles")
429-
430426
is_gradient_plot = plot_widget.name == EVEREST_GRADIENTS_PLOT
431427
is_controls_plot = plot_widget.name == EVEREST_CONTROLS_PLOT
432428
is_objective_plot = plot_widget.name in {

0 commit comments

Comments
 (0)