Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 14a241e

Browse filesBrowse files
committed
missing pyscript updates
1 parent 4530250 commit 14a241e
Copy full SHA for 14a241e

File tree

Expand file treeCollapse file tree

2 files changed

+11
-262
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+11
-262
lines changed

‎docs/pyscript/panel_dm.html

Copy file name to clipboardExpand all lines: docs/pyscript/panel_dm.html
-249Lines changed: 0 additions & 249 deletions
This file was deleted.

‎docs/pyscript/panel_kmeans.html

Copy file name to clipboardExpand all lines: docs/pyscript/panel_kmeans.html
+11-13Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.js"></script>
2222
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js"></script>
2323
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.4.2.min.js"></script>
24-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@holoviz/panel@0.13.1/dist/panel.min.js"></script>
24+
<script type="text/javascript" src="https://unpkg.com/@holoviz/panel@0.13.1/dist/panel.min.js"></script>
2525
<script type="text/javascript">
2626
Bokeh.set_log_level("info");
2727
</script>
@@ -43,14 +43,6 @@
4343
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
4444
</head>
4545

46-
<py-env>
47-
- altair
48-
- numpy
49-
- pandas
50-
- scikit-learn
51-
- panel==0.13.1
52-
</py-env>
53-
5446
<body>
5547
<div class="container-fluid d-flex flex-column vh-100 overflow-hidden" id="container">
5648
<nav class="navbar navbar-expand-md navbar-dark sticky-top shadow" id="header" style="background-color: #000000;">
@@ -81,11 +73,17 @@
8173
</div>
8274
</div>
8375

84-
<py-script>
85-
# was ok with https://pyscript.net/2022.06.1/pyscript.js
86-
# you can try last official release: https://pyscript.net/latest/pyscript.js and css
87-
# or current unstable master: https://pyscript.net/unstable/pyscript.js and css
76+
<py-config>
77+
packages = [
78+
"altair",
79+
"numpy",
80+
"pandas",
81+
"scikit-learn",
82+
"panel==0.13.1"
83+
]
84+
</py-config>
8885

86+
<py-script>
8987
import altair as alt
9088
import panel as pn
9189
import pandas as pd

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.