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

Class AzureRenderer

plotly/io/_base_renderers.py:421–445  ·  view source on GitHub ↗

Renderer to display interactive figures in Azure Notebooks. Same as NotebookRenderer but with connected=True so that the plotly.js bundle is loaded from a CDN rather than being embedded in the notebook. This renderer is enabled by default when running in an Azure notebook. mi

Source from the content-addressed store, hash-verified

419
420
421class AzureRenderer(HtmlRenderer):
422 """
423 Renderer to display interactive figures in Azure Notebooks.
424
425 Same as NotebookRenderer but with connected=True so that the plotly.js
426 bundle is loaded from a CDN rather than being embedded in the notebook.
427
428 This renderer is enabled by default when running in an Azure notebook.
429
430 mime type: 'text/html'
431 """
432
433 def __init__(
434 self, config=None, auto_play=False, post_script=None, animation_opts=None
435 ):
436 super(AzureRenderer, self).__init__(
437 connected=True,
438 full_html=False,
439 global_init=True,
440 config=config,
441 auto_play=auto_play,
442 post_script=post_script,
443 animation_opts=animation_opts,
444 include_plotlyjs=False,
445 )
446
447
448class ColabRenderer(HtmlRenderer):

Callers 1

_renderers.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected