Skip to content

Commit

Permalink
fix bokeh deprecation (#2362)
Browse files Browse the repository at this point in the history
* fix bokeh deprecation

* update changelog
  • Loading branch information
OriolAbril authored Jul 19, 2024
1 parent 979687c commit 2bd2570
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ saved_animations/
# MacOS generated files
.DS_Store

# examples
examples/**/*.html

# Stan file
doc/getting_started/*.stan
doc/source/user_guide/wrappers/*
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Ensure support with numpy 2.0 ([2321](https://github.com/arviz-devs/arviz/pull/2321))
- Update testing strategy to include an environment without optional dependencies and
an environment with [scientific python nightlies](https://anaconda.org/scientific-python-nightly-wheels) ([2321](https://github.com/arviz-devs/arviz/pull/2321))
- Address bokeh related deprecations ([2362](https://github.com/arviz-devs/arviz/pull/2362))

- Fix legend overwriting issue in `plot_trace` ([2334](https://github.com/arviz-devs/arviz/pull/2334))

Expand Down
4 changes: 2 additions & 2 deletions arviz/plots/backends/bokeh/pairplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def plot_pair(
source = ColumnDataSource(data=source_dict)

if divergences:
source_nondiv = CDSView(filters=[GroupFilter(column_name=divergenve_name, group="0")])
source_div = CDSView(filters=[GroupFilter(column_name=divergenve_name, group="1")])
source_nondiv = CDSView(filter=GroupFilter(column_name=divergenve_name, group="0"))
source_div = CDSView(filter=GroupFilter(column_name=divergenve_name, group="1"))

def get_width_and_height(jointplot, rotate):
"""Compute subplots dimensions for two or more variables."""
Expand Down

0 comments on commit 2bd2570

Please sign in to comment.