Skip to content

Commit 609346a

Browse files
committed
remove unused imports
1 parent 980278f commit 609346a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

plotly/io/_base_renderers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
from os.path import isdir
77

88
from plotly import optional_imports
9-
from plotly.io import to_json, to_image, write_image, write_html
9+
from plotly.io import to_json, to_image, write_html
1010
from plotly.io._utils import plotly_cdn_url
1111
from plotly.offline.offline import _get_jconfig, get_plotlyjs
12-
from plotly.tools import return_figure_from_figure_or_data
1312

1413
ipython_display = optional_imports.get_module("IPython.display")
1514
IPython = optional_imports.get_module("IPython")
@@ -502,7 +501,6 @@ def __init__(
502501
self.html_directory = html_directory
503502

504503
def to_mimebundle(self, fig_dict):
505-
from plotly.io import write_html
506504

507505
# Make iframe size slightly larger than figure size to avoid
508506
# having iframe have its own scroll bar.

0 commit comments

Comments
 (0)