Skip to content

Commit 34ccc60

Browse files
committed
Remove comments describing requirejs as an option
1 parent 1d9f17a commit 34ccc60

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/python/plotly/plotly/basedatatypes.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3534,12 +3534,6 @@ def to_html(self, *args, **kwargs):
35343534
plotly.min.js bundle that is assumed to reside in the same
35353535
directory as the HTML file.
35363536
3537-
If 'require', Plotly.js is loaded using require.js. This option
3538-
assumes that require.js is globally available and that it has been
3539-
globally configured to know how to find Plotly.js as 'plotly'.
3540-
This option is not advised when full_html=True as it will result
3541-
in a non-functional html file.
3542-
35433537
If a string that ends in '.js', a script tag is included that
35443538
references the specified path. This approach can be used to point
35453539
the resulting HTML file to an alternative CDN or local bundle.
@@ -3643,12 +3637,6 @@ def write_html(self, *args, **kwargs):
36433637
directory because the plotly.js source code will be included only
36443638
once per output directory, rather than once per output file.
36453639
3646-
If 'require', Plotly.js is loaded using require.js. This option
3647-
assumes that require.js is globally available and that it has been
3648-
globally configured to know how to find Plotly.js as 'plotly'.
3649-
This option is not advised when full_html=True as it will result
3650-
in a non-functional html file.
3651-
36523640
If a string that ends in '.js', a script tag is included that
36533641
references the specified path. This approach can be used to point
36543642
the resulting HTML file to an alternative CDN or local bundle.

0 commit comments

Comments
 (0)