From 1fb374f8b9c99e0d4edc69bc49dad2b9f612fc56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Luk=C3=A1ny?= Date: Thu, 10 Aug 2023 15:49:00 +0200 Subject: [PATCH] feat: conform report imports to isort --- edvart/report.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/edvart/report.py b/edvart/report.py index fead723..1624ebe 100755 --- a/edvart/report.py +++ b/edvart/report.py @@ -150,12 +150,14 @@ def _generate_notebook( # Add imports cell imports_set = { - "import pandas as pd", "import os", "from typing import Any, Callable, Dict, List, Optional, Tuple, Union", + "", + "import pandas as pd", + "import plotly.io as pio", "import plotly.offline as py", + "", "py.init_notebook_mode()", - "import plotly.io as pio", "pio.renderers.default = 'plotly_mimetype+notebook'", } if extra_imports is not None: