Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DataPlotly/core/plot_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ def build_html(self, config) -> str:
self.POLY_FILL_PATH, self.PLOTLY_PATH)
# set some configurations
# call the plot method without all the javascript code
raw_plot += plotly.offline.plot(fig, output_type='div', include_plotlyjs=False, show_link=False,
raw_plot += plotly.offline.plot(fig, output_type='div', include_plotlyjs=False,
config=config)
# insert callback for javascript events
raw_plot += self.js_callback(raw_plot)
Expand Down Expand Up @@ -960,7 +960,7 @@ def build_figures(self, plot_type, ptrace, config=None) -> str:
'</script><script src="{}"></script></head>'.format(
self.POLY_FILL_PATH, self.PLOTLY_PATH)
# call the plot method without all the javascript code
self.raw_plot += plotly.offline.plot(figures, output_type='div', include_plotlyjs=False, show_link=False,
self.raw_plot += plotly.offline.plot(figures, output_type='div', include_plotlyjs=False,
config=config)
# insert callback for javascript events
self.raw_plot += self.js_callback(self.raw_plot)
Expand Down Expand Up @@ -1018,7 +1018,7 @@ def build_sub_plots(self, grid, row, column, ptrace): # pylint:disable=too-many
'<script src="{}"></script></head>'.format(
self.POLY_FILL_PATH, self.PLOTLY_PATH)
# call the plot method without all the javascript code
self.raw_plot += plotly.offline.plot(fig, output_type='div', include_plotlyjs=False, show_link=False,
self.raw_plot += plotly.offline.plot(fig, output_type='div', include_plotlyjs=False,
config=config)
# insert callback for javascript events
self.raw_plot += self.js_callback(self.raw_plot)
Expand Down
Loading