From d293c69f69711cc2954738b6b7bf3438210d97fd Mon Sep 17 00:00:00 2001 From: John Pill Date: Thu, 27 Mar 2025 16:52:09 +0000 Subject: [PATCH] Removed .core from pipeline.controller IPython.core.display import to fix graph display issue in notebooks --- packages/pipeline/src/pyearthtools/pipeline/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pipeline/src/pyearthtools/pipeline/controller.py b/packages/pipeline/src/pyearthtools/pipeline/controller.py index 568f3b9c..ad73dc2b 100644 --- a/packages/pipeline/src/pyearthtools/pipeline/controller.py +++ b/packages/pipeline/src/pyearthtools/pipeline/controller.py @@ -773,7 +773,7 @@ def save(self, path: Optional[Union[str, Path]] = None, only_steps: bool = False def _ipython_display_(self): """Override for repr of `Pipeline`, shows initialisation arguments and graph""" - from IPython.core.display import display, HTML + from IPython.display import display, HTML display(HTML(self._repr_html_()))