embed_notebook: Embed a plot as an iframe into a Jupyter Notebook

View source: R/embed.R

embed_notebookR Documentation

Embed a plot as an iframe into a Jupyter Notebook

Description

Embed a plot as an iframe into a Jupyter Notebook

Usage

embed_notebook(x, width = NULL, height = NULL, file = NULL)

Arguments

x

a plotly object

width

attribute of the iframe. If NULL, the width in plot_ly is used. If that is also NULL, '100%' is the default.

height

attribute of the iframe. If NULL, the height in plot_ly is used. If that is also NULL, '400px' is the default.

file

deprecated.

Author(s)

Carson Sievert


ropensci/plotly documentation built on April 30, 2024, 11:59 a.m.