Skip to content

Commit f5504d9

Browse files
committed
template for figure
1 parent 974c8a3 commit f5504d9

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

apidoc/_templates/class_figure.rst

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,18 @@
55
.. currentmodule:: {{ module }}
66

77
.. autoclass:: {{ objname }}
8-
98
{% block methods %}
109
.. automethod:: __init__
1110
.. automethod:: show
1211
.. automethod:: update_layout
1312
.. automethod:: add_traces
1413
{% endblock %}
1514

16-
Other methods
17-
{{ underline }}==============
18-
19-
.. autosummary::
20-
:toctree: generated/
21-
22-
plotly.graph_objects.{{ objname }}
23-
15+
.. autoclass:: {{ objname }}
16+
:members:
17+
:inherited-members:
2418

2519
.. raw:: html
2620

2721
<div class="clearer"></div>
22+

apidoc/graph_objects.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ Figure
1616

1717
.. autosummary::
1818
:toctree: generated/
19-
:template: trace.rst
19+
:template: class_figure.rst
20+
21+
Figure
2022

21-
Figure
2223

2324
Layout
2425
------

0 commit comments

Comments
 (0)