Skip to content

Commit 2bd2570

Browse files
authored
fix bokeh deprecation (#2362)
* fix bokeh deprecation * update changelog
1 parent 979687c commit 2bd2570

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ saved_animations/
7474
# MacOS generated files
7575
.DS_Store
7676

77+
# examples
78+
examples/**/*.html
79+
7780
# Stan file
7881
doc/getting_started/*.stan
7982
doc/source/user_guide/wrappers/*

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- Ensure support with numpy 2.0 ([2321](https://github.com/arviz-devs/arviz/pull/2321))
1313
- Update testing strategy to include an environment without optional dependencies and
1414
an environment with [scientific python nightlies](https://anaconda.org/scientific-python-nightly-wheels) ([2321](https://github.com/arviz-devs/arviz/pull/2321))
15+
- Address bokeh related deprecations ([2362](https://github.com/arviz-devs/arviz/pull/2362))
1516

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

arviz/plots/backends/bokeh/pairplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ def plot_pair(
174174
source = ColumnDataSource(data=source_dict)
175175

176176
if divergences:
177-
source_nondiv = CDSView(filters=[GroupFilter(column_name=divergenve_name, group="0")])
178-
source_div = CDSView(filters=[GroupFilter(column_name=divergenve_name, group="1")])
177+
source_nondiv = CDSView(filter=GroupFilter(column_name=divergenve_name, group="0"))
178+
source_div = CDSView(filter=GroupFilter(column_name=divergenve_name, group="1"))
179179

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

0 commit comments

Comments
 (0)