Skip to content

Commit

Permalink
Add minor fixes to docs (arviz-devs#551)
Browse files Browse the repository at this point in the history
* Add minor fixes to docs

* Update README with correct docker instructions
  • Loading branch information
canyon289 authored and aloctavodia committed Jan 21, 2019
1 parent ef1c72b commit f5fc430
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ There is also a Dockerfile which helps for isolating build problems and local de
3. Run `./scripts/container.sh --build`

This will build a local image with the tag `arviz`.
After building the image tests can be executing by running `docker run arviz`.
An interactive shell can be started by running `docker run -it arviz /bin/bash`. The correct conda environment will be activated automatically.
After building the image tests can be executing by running
`docker run arviz bash pytest arviz/tests`

An interactive shell can be started by running
`docker run -it arviz /bin/bash`
The correct conda environment will be activated automatically.

7 changes: 4 additions & 3 deletions arviz/plots/compareplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ def plot_compare(
plot_kwargs=None,
ax=None,
):
"""Summary plot for model comparison.
"""
Summary plot for model comparison.
This plot is in the style of the one used in the book Statistical Rethinking (Chapter 6)
by Richard McElreath.
Note
----
Notes
-----
Defaults to comparing Widely Accepted Information Criterion (WAIC) if present in comp_df column,
otherwise compares Leave-one-out (loo)
Expand Down
2 changes: 1 addition & 1 deletion doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Diagnostics
.. autosummary::
:toctree: generated/

effective_n
effective_sample_size
rhat
geweke

Expand Down

0 comments on commit f5fc430

Please sign in to comment.