MCPcopy Index your code
hub / github.com/plotly/plotly.py / render

Method render

plotly/io/_base_renderers.py:758–776  ·  view source on GitHub ↗
(self, fig_dict)

Source from the content-addressed store, hash-verified

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
779class SphinxGalleryHtmlRenderer(HtmlRenderer):

Callers

nothing calls this directly

Calls 2

displayHTMLMethod · 0.95
to_htmlFunction · 0.90

Tested by

no test coverage detected