Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf9d6cb

Browse files
committed
DOC: get docs to build
There are still rst warnings that are not addressed
1 parent 3041259 commit bf9d6cb

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
trendvis/version.py
44
result_images
55
*~
6+
doc/build
7+
doc/source/generated

doc/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
'sphinx.ext.mathjax',
3737
'sphinx.ext.viewcode',
3838
'sphinx.ext.autosummary',
39-
'matplotlib.sphinxext.only_directives',
4039
'matplotlib.sphinxext.plot_directive',
4140
'IPython.sphinxext.ipython_directive',
4241
'IPython.sphinxext.ipython_console_highlighting',

doc/source/index.rst

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
.. currentmodule:: trendvis
22

3-
====================
3+
==========
44
TrendVis
5-
====================
6-
7-
.. htmlonly::
8-
9-
:Release: |version|
10-
:Date: |today|
5+
==========
116

127
:py:mod:`trendvis` API
13-
====================
8+
======================
149

1510
.. autosummary::
1611
:toctree: generated/
@@ -87,9 +82,9 @@ Creating a `YGrid` is essentially the same as an `XGrid`.
8782
nums = 10
8883
lw = 1.5
8984

90-
ex0 = YGrid([1,2,1], figsize=(5,5))
85+
ex0 = trendvis.YGrid([1,2,1], figsize=(5,5))
9186

92-
plot_data(ex0, [[(xvals, np.linspace(0, 9.5, num=nums), 'blue')],
87+
trendvis.plot_data(ex0, [[(xvals, np.linspace(0, 9.5, num=nums), 'blue')],
9388
[(xvals*5, np.linspace(1, 9, num=nums), 'red')],
9489
[(xvals*10, np.linspace(0.5, 10, num=nums),'green')]],
9590
lw=1.5, auto_spinecolor=True, markeredgecolor='none', marker='s')
@@ -104,4 +99,3 @@ Creating a `YGrid` is essentially the same as an `XGrid`.
10499
ex0.axes[0][0].set_ylabel('Main Axis', fontsize=14)
105100

106101
ex0.fig.subplots_adjust(wspace=-0.3)
107-

0 commit comments

Comments
 (0)