Skip to content

Commit 91f5b13

Browse files
committed
added links to px.data and px.colors in API doc
1 parent e026ef5 commit 91f5b13

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

doc/apidoc/plotly.express.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _px:
22

33
`plotly.express`: high-level interface for data visualization
4-
================================
4+
=============================================================
55

66
The `plotly.express <https://plot.ly/python/plotly-express/>`_ module is
77
plotly's high-level API for rapid figure generation. ::
@@ -49,4 +49,13 @@ plotly's high-level API for rapid figure generation. ::
4949
imshow
5050

5151

52+
`plotly.express` submodules
53+
---------------------------
54+
55+
56+
.. toctree::
57+
:maxdepth: 1
58+
59+
generated/plotly.data.rst
60+
generated/plotly.express.colors.rst
5261

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
"""For a list of colors available in `plotly.express.colors`, please see
2+
3+
* the `tutorial on discrete color sequences <https://plotly.com/python/discrete-color/#color-sequences-in-plotly-express>`_
4+
* the `list of built-in continuous color scales <https://plotly.com/python/builtin-colorscales/>`_
5+
"""
6+
7+
from __future__ import absolute_import
8+
from plotly.colors import *
9+
10+
__all__ = ['cyclical',
11+
'diverging',
12+
'sequential',
13+
'qualitative',
14+
]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
from __future__ import absolute_import
22
from plotly.data import *
3+
4+
__all__ = [
5+
'carshare',
6+
'election',
7+
'election_geojson',
8+
'gapminder',
9+
'iris',
10+
'tips',
11+
'wind'
12+
]

0 commit comments

Comments
 (0)