Skip to content

Commit ce2b720

Browse files
authored
__all__ for figure_factory and io (for sphinx) (plotly#1803)
1 parent 4a30dc6 commit ce2b720

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

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

+19
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,22 @@
3030

3131
if optional_imports.get_module("pandas") is not None:
3232
from plotly.figure_factory._county_choropleth import create_choropleth
33+
34+
__all__ = [
35+
"create_2d_density",
36+
"create_annotated_heatmap",
37+
"create_bullet",
38+
"create_candlestick",
39+
"create_dendrogram",
40+
"create_distplot",
41+
"create_facet_grid",
42+
"create_gantt",
43+
"create_ohlc",
44+
"create_quiver",
45+
"create_scatterplotmatrix",
46+
"create_streamline",
47+
"create_table",
48+
"create_ternary_contour",
49+
"create_trisurf",
50+
"create_violin",
51+
]

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

+16
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,19 @@
1010
from ._renderers import renderers, show
1111

1212
from . import base_renderers
13+
14+
__all__ = [
15+
"to_image",
16+
"write_image",
17+
"to_json",
18+
"from_json",
19+
"read_json",
20+
"write_json",
21+
"templates",
22+
"to_templated",
23+
"to_html",
24+
"write_html",
25+
"renderers",
26+
"show",
27+
"base_renderers",
28+
]

0 commit comments

Comments
 (0)