Skip to content

Commit 273bab6

Browse files
committed
Remove extra imports and extra setting of traitlets
1 parent 0953cda commit 273bab6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/python/plotly/plotly/basewidget.py

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from copy import deepcopy
2-
import datetime
32
import pathlib
4-
import time
53
from traitlets import List, Dict, observe, Integer
64
from plotly.io._renderers import display_jupyter_version_warnings
75

@@ -149,8 +147,6 @@ def __init__(
149147
self._view_count = 0
150148

151149
def show(self, *args, **kwargs):
152-
self._widget_layout = deepcopy(self._layout_obj._props)
153-
self._widget_data = deepcopy(self._widget_data)
154150
return self
155151

156152
# Python -> JavaScript Messages

0 commit comments

Comments
 (0)