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

Method render

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

Source from the content-addressed store, hash-verified

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
720class DatabricksRenderer(ExternalRenderer):

Callers 1

Calls 2

to_htmlFunction · 0.90
open_html_in_browserFunction · 0.85

Tested by

no test coverage detected