(self, fig_dict)
| 699 | self.animation_opts = animation_opts |
| 700 | |
| 701 | def render(self, fig_dict): |
| 702 | from plotly.io import to_html |
| 703 | |
| 704 | html = to_html( |
| 705 | fig_dict, |
| 706 | config=self.config, |
| 707 | auto_play=self.auto_play, |
| 708 | include_plotlyjs=True, |
| 709 | include_mathjax="cdn", |
| 710 | post_script=self.post_script, |
| 711 | full_html=True, |
| 712 | animation_opts=self.animation_opts, |
| 713 | default_width="100%", |
| 714 | default_height="100%", |
| 715 | validate=False, |
| 716 | ) |
| 717 | open_html_in_browser(html, self.using, self.new, self.autoraise) |
| 718 | |
| 719 | |
| 720 | class DatabricksRenderer(ExternalRenderer): |
no test coverage detected