Skip to content

Commit 7e50c44

Browse files
committed
dynamic to static docstrings for Figure io methods
Saves 200ms of startup time!
1 parent 1084ba0 commit 7e50c44

File tree

3 files changed

+358
-31
lines changed

3 files changed

+358
-31
lines changed

Diff for: packages/python/plotly/plotly/__init__.py

-5
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
io,
4141
data,
4242
colors,
43-
_docstring_gen,
4443
)
4544
from plotly.version import __version__
4645

@@ -77,7 +76,3 @@
7776
],
7877
[".version.__version__"],
7978
)
80-
81-
# Trigger docstring generation
82-
# TODO: come back to _docstring_gen
83-
# from plotly import _docstring_gen

Diff for: packages/python/plotly/plotly/_docstring_gen.py

-26
This file was deleted.

0 commit comments

Comments
 (0)