Skip to content

Commit 12bb1f1

Browse files
committed
data subpackage in plotly express
1 parent e94ae0a commit 12bb1f1

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

doc/apidoc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# You can set these variables from the command line.
55
SPHINXOPTS =
6-
SPHINXBUILD = python3 -m sphinx
6+
SPHINXBUILD = python -m sphinx
77
SOURCEDIR = .
88
BUILDDIR = _build
99

@@ -22,7 +22,7 @@ help:
2222
sed -i 's/:class:`plotly.graph_objects/:class:`plotly.graph_objs/g' ../../packages/python/plotly/plotly/graph_objs/*/*.py
2323
sed -i 's/:class:`plotly.graph_objects/:class:`plotly.graph_objs/g' ../../packages/python/plotly/plotly/graph_objs/*/*/*.py
2424
sed -i 's/:class:`plotly.graph_objects/:class:`plotly.graph_objs/g' ../../packages/python/plotly/plotly/graph_objs/*/*/*/*.py
25-
sphinx-apidoc -o generated ../../packages/python/plotly/plotly ../../packages/python/plotly/plotly/validators ../../packages/python/plotly/plotly/tests ../../packages/python/plotly/plotly/matplotlylib/ ../../packages/python/plotly/plotly/offline ../../packages/python/plotly/plotly/api
25+
sphinx-apidoc -E -M -o generated ../../packages/python/plotly/plotly ../../packages/python/plotly/plotly/validators ../../packages/python/plotly/plotly/tests ../../packages/python/plotly/plotly/matplotlylib/ ../../packages/python/plotly/plotly/offline ../../packages/python/plotly/plotly/api
2626
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2727
git checkout -- ../../packages/python/plotly/plotly/graph_objs
2828
rename 's/graph_objs/graph_objects/' _build/html/*.html _build/html/generated/*.html

doc/apidoc/plotly.express.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ plotly's high-level API for rapid figure generation. ::
5656
.. toctree::
5757
:maxdepth: 1
5858

59-
generated/plotly.data.rst
59+
generated/plotly.express.data.rst
6060
generated/plotly.express.colors.rst
6161

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
from __future__ import absolute_import
22
from _plotly_utils.colors import * # noqa: F401
3+
4+
__all__ = [
5+
"named_colorscales",
6+
"cyclical",
7+
"diverging",
8+
"sequential",
9+
"qualitative",
10+
]
11+

packages/python/plotly/plotly/express/colors/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
from __future__ import absolute_import
88
from plotly.colors import *
99

10+
11+
1012
__all__ = [
13+
"named_colorscales",
1114
"cyclical",
1215
"diverging",
1316
"sequential",

0 commit comments

Comments
 (0)