Skip to content

Commit

Permalink
feat: conform report imports to isort
Browse files Browse the repository at this point in the history
  • Loading branch information
lukany committed Aug 10, 2023
1 parent 59b1c81 commit 1fb374f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions edvart/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1fb374f

Please sign in to comment.