Skip to content

Commit 07292e4

Browse files
committed
fix: remove ipywidgets import
1 parent ddd69fd commit 07292e4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/pandas_profiling/profile_report.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import numpy as np
88
import pandas as pd
9-
from ipywidgets.widgets.widget_box import VBox
109
from tqdm.auto import tqdm
1110
from typeguard import typechecked
1211
from visions import VisionsTypeset
@@ -234,7 +233,7 @@ def json(self) -> str:
234233
return self._json
235234

236235
@property
237-
def widgets(self) -> VBox:
236+
def widgets(self) -> Any:
238237
if (
239238
isinstance(self.description_set["table"]["n"], list)
240239
and len(self.description_set["table"]["n"]) > 1
@@ -357,7 +356,7 @@ def _render_html(self) -> str:
357356
pbar.update()
358357
return html
359358

360-
def _render_widgets(self) -> VBox:
359+
def _render_widgets(self) -> Any:
361360
from pandas_profiling.report.presentation.flavours import WidgetReport
362361

363362
report = self.report

0 commit comments

Comments
 (0)