diff --git a/packages/python/plotly/plotly/basedatatypes.py b/packages/python/plotly/plotly/basedatatypes.py index 24900cf6975..21b4cb1f312 100644 --- a/packages/python/plotly/plotly/basedatatypes.py +++ b/packages/python/plotly/plotly/basedatatypes.py @@ -2493,7 +2493,7 @@ def _get_child_prop_defaults(self, child): def _init_child_props(self, child): """ - Initialize the properites dict for a child trace or layout + Initialize the properties dict for a child trace or layout Note: this method must match the name/signature of one on BasePlotlyType @@ -3632,12 +3632,7 @@ def write_html(self, *args, **kwargs): If 'directory', a script tag is included that references an external plotly.min.js bundle that is assumed to reside in the same - directory as the HTML file. If `file` is a string to a local file path - and `full_html` is True then - - If 'directory', a script tag is included that references an external - plotly.min.js bundle that is assumed to reside in the same - directory as the HTML file. If `file` is a string to a local file + directory as the HTML file. If `file` is a string to a local file path and `full_html` is True, then the plotly.min.js bundle is copied into the directory of the resulting HTML file. If a file named plotly.min.js already exists in the output directory then this file @@ -3712,8 +3707,7 @@ def write_html(self, *args, **kwargs): Returns ------- - str - Representation of figure as an HTML div string + None """ import plotly.io as pio