Skip to content

Commit 2dc791e

Browse files
tweaks to look and feel of autodoc
1 parent 5a83e13 commit 2dc791e

File tree

7 files changed

+34
-16
lines changed

7 files changed

+34
-16
lines changed

apidoc/_static/plotly-style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,19 @@
1111
.body {
1212
font-family: "Open Sans", sans-serif;
1313
}
14+
.navbar-brand img {
15+
height: 30px;
16+
margin-top: 4px;
17+
}
18+
19+
.navbar .container {
20+
padding-top: 8px;
21+
}
22+
23+
a {
24+
color: #2391fe !important;
25+
}
26+
27+
code {
28+
color: #2391fe !important;
29+
}

apidoc/figure_factory.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _ff:
22

3-
Figure Factory
3+
`plotly.figure_factory`: helper methods for building specific complex charts
44
==============
55

66
.. currentmodule:: plotly.figure_factory
@@ -23,6 +23,6 @@ Figure Factory
2323
create_streamline
2424
create_table
2525
create_ternary_contour
26-
create_trisurf
26+
create_trisurf
2727
create_violin
2828

apidoc/graph_objects.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _graph-objects:
22

3-
Graph objects: figures, traces and layout
3+
`plotly.graph_objects`: low-level interface to figures, traces and layout
44
=========================================
55

66
.. currentmodule:: plotly.graph_objects
@@ -11,12 +11,14 @@ Graph objects: figures, traces and layout
1111

1212
>>> import plotly.graph_objects as go
1313

14-
.. toctree::
15-
:maxdepth: 1
16-
:caption: Figure:
14+
Figure
15+
------
1716

18-
figure.rst
17+
.. autosummary::
18+
:toctree: generated/
19+
:template: trace.rst
1920

21+
Figure
2022

2123
Layout
2224
------

apidoc/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
plotly API reference
6+
Python API reference for `plotly`
77
====================
88

99
This is the reference of plotly's API. Also see `plotly's documentation website <https://plot.ly/python>`_.
@@ -12,11 +12,11 @@ Submodules
1212
----------
1313

1414

15-
* :ref:`Plotly express <px>`
16-
* :ref:`Graph objects: figures, traces and layout <graph-objects>`
17-
* :ref:`Subplots <subplots>`
18-
* :ref:`Figure Factory <ff>`
19-
* :ref:`I/O <io>`
15+
* :ref:`Plotly Express: high-level interface for data visualization <px>`
16+
* :ref:`Graph Objects: low-level interface to figures, traces and layout <graph-objects>`
17+
* :ref:`Subplots: helper function for layout out multi-plot figures <subplots>`
18+
* :ref:`Figure Factories: helper methods for building specific complex charts <ff>`
19+
* :ref:`I/O: low-level interface for displaying, reading and writing figures <io>`
2020

2121
Full reference list
2222
-------------------

apidoc/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _io:
22

3-
I/O
3+
`plotly.io`: low-level interface for displaying, reading and writing figures
44
==============
55

66
.. currentmodule:: plotly.io

apidoc/px.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _px:
22

3-
Plotly express: `plotly.express`
3+
`plotly.express`: high-level interface for data visualization
44
================================
55

66
The `plotly.express <https://plot.ly/python/plotly-express/>`_ module is

apidoc/subplots.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _subplots:
22

3-
Subplots: `plotly.subplots`
3+
`plotly.subplots`: helper function for layout out multi-plot figures
44
===========================
55

66
.. currentmodule:: plotly.subplots

0 commit comments

Comments
 (0)