(self, fig_dict)
| 756 | return self._displayHTML |
| 757 | |
| 758 | def render(self, fig_dict): |
| 759 | from plotly.io import to_html |
| 760 | |
| 761 | html = to_html( |
| 762 | fig_dict, |
| 763 | config=self.config, |
| 764 | auto_play=self.auto_play, |
| 765 | include_plotlyjs=self.include_plotlyjs, |
| 766 | include_mathjax="cdn", |
| 767 | post_script=self.post_script, |
| 768 | full_html=True, |
| 769 | animation_opts=self.animation_opts, |
| 770 | default_width="100%", |
| 771 | default_height="100%", |
| 772 | validate=False, |
| 773 | ) |
| 774 | |
| 775 | # displayHTML is a Databricks notebook built-in function |
| 776 | self.displayHTML(html) |
| 777 | |
| 778 | |
| 779 | class SphinxGalleryHtmlRenderer(HtmlRenderer): |
nothing calls this directly
no test coverage detected