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

Class ColabRenderer

plotly/io/_base_renderers.py:448–468  ·  view source on GitHub ↗

Renderer to display interactive figures in Google Colab Notebooks. This renderer is enabled by default when running in a Colab notebook. mime type: 'text/html'

Source from the content-addressed store, hash-verified

446
447
448class ColabRenderer(HtmlRenderer):
449 """
450 Renderer to display interactive figures in Google Colab Notebooks.
451
452 This renderer is enabled by default when running in a Colab notebook.
453
454 mime type: 'text/html'
455 """
456
457 def __init__(
458 self, config=None, auto_play=False, post_script=None, animation_opts=None
459 ):
460 super(ColabRenderer, self).__init__(
461 connected=True,
462 full_html=True,
463 global_init=False,
464 config=config,
465 auto_play=auto_play,
466 post_script=post_script,
467 animation_opts=animation_opts,
468 )
469
470
471class IFrameRenderer(MimetypeRenderer):

Callers 1

_renderers.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected