Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia committed Oct 16, 2020
1 parent 19f6f17 commit 8b8299d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arviz/plots/rankplot.py
Expand Up @@ -137,6 +137,13 @@ def plot_rank(
>>> az.plot_rank(centered_data, var_names="mu", kind='vlines', ax=ax[0])
>>> az.plot_rank(noncentered_data, var_names="mu", kind='vlines', ax=ax[1])
Change the aesthetics using kwargs
.. plot::
:context: close-figs
>>> az.plot_rank(noncentered_data, var_names="mu", kind="vlines",
>>> vlines_kwargs={'lw':0}, marker_vlines_kwargs={'lw':3});
"""
if transform is not None:
data = transform(data)
Expand Down

0 comments on commit 8b8299d

Please sign in to comment.