зеркало из https://github.com/mozilla/dye-score.git
Add plotting utils to api docs (loosely)
This commit is contained in:
Родитель
0b58f5aceb
Коммит
1c0e603ecb
13
docs/api.rst
13
docs/api.rst
|
@ -8,3 +8,16 @@ DyeScore
|
|||
|
||||
.. autoclass:: dye_score.dye_score.DyeScore
|
||||
:members:
|
||||
|
||||
|
||||
.. dye_score.plotting
|
||||
|
||||
Plotting utils
|
||||
--------------
|
||||
|
||||
The following plotting utils can be used directly or maybe useful template code
|
||||
for reviewing your results.
|
||||
|
||||
.. automodule:: dye_score.plotting
|
||||
:members:
|
||||
:undoc-members:
|
||||
|
|
10
docs/conf.py
10
docs/conf.py
|
@ -32,7 +32,15 @@ class Mock(MagicMock):
|
|||
def __getattr__(cls, name):
|
||||
return MagicMock()
|
||||
|
||||
MOCK_MODULES = ['numpy', 'pandas', 'dask', 'xarray', 'bokeh',]
|
||||
MOCK_MODULES = [
|
||||
'numpy',
|
||||
'pandas',
|
||||
'dask',
|
||||
'xarray',
|
||||
'bokeh.models',
|
||||
'bokeh.palettes',
|
||||
'bokeh.plotting',
|
||||
]
|
||||
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
|
||||
|
||||
# -- General configuration ---------------------------------------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче