Skip to content

Commit

Permalink
[WIP] Modify pairplot to include jointplot and cornerplot like featur…
Browse files Browse the repository at this point in the history
…es (#1079)

* add jointplot features into pairplot

* add scatter_kde kind for pairplot

* add point_estimate arguments

* bokeh backend

* fix None argument for color in kdeplot bokeh backend

* run black, pylint and pytest

* remove scatter_kde kind among several other changes

* minor changes

* run pytest

* add plot width and height to backend_kwargs

fix pylint issues

fix hover feature

fix hover feature

minor fixes

* update docstring

run pylint

* update changelog
  • Loading branch information
ahartikainen authored Mar 5, 2020
1 parent 68406c4 commit 3081799
Show file tree
Hide file tree
Showing 10 changed files with 425 additions and 221 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## v0.x.x Unreleased

### New features

* Integrate jointplot into pairplot, add point-estimate and overlay of plot kinds #1079
### Maintenance and fixes

### Deprecation
Expand All @@ -16,6 +16,8 @@
### New features
* Add out-of-sample predictions (`predictions` and `predictions_constant_data` groups) to pymc3, pystan, cmdstan and cmdstanpy translations (#983, #1032 and #1064)
* Started adding pointwise log likelihood storage support (#794, #1044 and #1064)
* Add out-of-sample predictions (`predictions` and `predictions_constant_data` groups) to pymc3 and pystan translations (#983 and #1032)
* Started adding pointwise log likelihood storage support (#794, #1044)
* Violinplot: rug-plot option (#997)
* Integrated rcParams `plot.point_estimate` (#994), `stats.ic_scale` (#993) and `stats.credible_interval` (#1017)
* Added `group` argument to `plot_ppc` (#1008), `plot_pair` (#1009) and `plot_joint` (#1012)
Expand Down Expand Up @@ -202,3 +204,4 @@
## v0.3.0 (2018 Dec 14)

* First Beta Release

4 changes: 3 additions & 1 deletion arviz/plots/backends/bokeh/distplot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Bokeh Distplot."""
import bokeh.plotting as bkp
import numpy as np
import matplotlib.pyplot as plt

from . import backend_kwarg_defaults
from .. import show_layout
Expand Down Expand Up @@ -54,7 +55,8 @@ def plot_dist(
elif kind == "kde":
if plot_kwargs is None:
plot_kwargs = {}

if color is None:
color = plt.rcParams["axes.prop_cycle"].by_key()["color"][0]
plot_kwargs.setdefault("line_color", color)
legend = label is not None

Expand Down
Loading

0 comments on commit 3081799

Please sign in to comment.