10BC0 Revert upgrade to altair 5 in docs · holoviz/panel@961aadb · GitHub
[go: up one dir, main page]

Skip to content

Commit 961aadb

Browse files
committed
Revert upgrade to altair 5 in docs
1 parent be4b29e commit 961aadb

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/docs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
run: |
5555
conda activate test-environment
5656
pip install --use-deprecated=legacy-resolver pyecharts
57-
pip install --pre --upgrade altair # Build requires 5.0.0rc1
5857
- name: Install bokeh 3.0 compatibility packages
5958
run: |
6059
conda activate test-environment

.github/workflows/test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ jobs:
7272
run: |
7373
conda activate test-environment
7474
pip install pyecharts
75-
pip install --pre --upgrade altair # Build requires 5.0.0rc1
7675
- name: bokeh_sampledata
7776
run: |
7877
conda activate test-environment

examples/reference/panes/Vega.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
").properties(\n",
276276
" width=250,\n",
277277
" height=250\n",
278-
").add_params(\n",
278+
").add_selection(\n",
279279
" brush\n",
280280
")\n",
281281
"\n",
@@ -315,7 +315,7 @@
315315
"metadata": {},
316316
"outputs": [],
317317
"source": [
318-
"chart.to_dict()['params']"
318+
"chart.to_dict()['selection']"
319319
]
320320
},
321321
{
@@ -333,7 +333,7 @@
333333
"metadata": {},
334334
"outputs": [],
335335
"source": [
336-
"multi = alt.selection_point(name='multi') # selection of type \"multi\"\n",
336+
"multi = alt.selection_multi(name='multi') # selection of type \"multi\"\n",
337337
"\n",
338338
"multi_chart = alt.Chart(penguins_url).mark_point().encode(\n",
339339
" x=alt.X('Beak Length (mm):Q', scale=alt.Scale(zero=False)),\n",
@@ -342,7 +342,7 @@
342342
").properties(\n",
343343
" width=250,\n",
344344
" height=250\n",
345-
").add_params(\n",
345+
").add_selection(\n",
346346
" multi\n",
347347
")\n",
348348
"\n",
@@ -490,7 +490,7 @@
490490
" x=alt.X('Beak Length (mm):Q', scale=alt.Scale(zero=False)),\n",
491491
" y='Species:N',\n",
492492
" color=alt.condition(brush, 'Species:N', alt.value('lightgray'))\n",
493-
").add_params(\n",
493+
").add_selection(\n",
494494
" brush\n",
495495
")\n",
496496
"\n",
@@ -540,7 +540,7 @@
540540
" color=alt.condition(brush, alt.value('coral'), alt.value('lightgray'))\n",
541541
").properties(\n",
542542
" width=500\n",
543-
").add_params(\n",
543+
").add_selection(\n",
544544
" brush\n",
545545
")\n",
546546
"\n",

0 commit comments

Comments
 (0)
0