Skip to content

Commit c65ca44

Browse files
committed
Fix import paths for new location of util
1 parent fc8eff2 commit c65ca44

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: packages/python/plotly/plotly/basewidget.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pathlib
22
from traitlets import List, Dict, observe, Integer
3-
from plotly.io._utils import display_jupyter_version_warnings
3+
from plotly.io._renderers import display_jupyter_version_warnings
44

55
from .basedatatypes import BaseFigure, BasePlotlyType
66
from .callbacks import BoxSelector, LassoSelector, InputDeviceState, Points

Diff for: packages/python/plotly/plotly/io/_renderers.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@
2626
CoCalcRenderer,
2727
DatabricksRenderer,
2828
)
29-
from plotly.io._utils import (
30-
validate_coerce_fig_to_dict,
31-
display_jupyter_version_warnings,
32-
)
29+
from plotly.io._utils import validate_coerce_fig_to_dict
30+
from plotly.io._renderers import display_jupyter_version_warnings
3331

3432
ipython = optional_imports.get_module("IPython")
3533
ipython_display = optional_imports.get_module("IPython.display")

0 commit comments

Comments
 (0)