Skip to content

Fixes a few doc string issues #4656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions packages/python/plotly/plotly/basedatatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down