Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit4e66764

Browse files
committed
fixed some minor things related to examples while testing
1 parent788af88 commit4e66764

File tree

8 files changed

+13
-6
lines changed

8 files changed

+13
-6
lines changed

‎pyscriptjs/examples/bokeh.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<html><head>
22
<title>Bokeh Example</title>
33
<metacharset="iso-8859-1">
4+
<linkrel="icon"type="image/x-icon"href="./favicon.png">
45
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js"></script>
56
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-gl-2.4.2.min.js"></script>
67
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js"></script>
@@ -40,11 +41,7 @@ <h1>Bokeh Example</h1>
4041
p.circle([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], size=15, line_color="navy", fill_color="orange", fill_alpha=0.5)
4142
p_json = json.dumps(json_item(p, "myplot"))
4243

43-
print("about to embed")
44-
4544
Bokeh.embed.embed_item(JSON.parse(p_json))
46-
47-
print ("Done embedding...")
4845
</py-script>
4946

5047
</body>

‎pyscriptjs/examples/bokeh_interactive.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<html><head>
22
<title>Bokeh Example</title>
33
<metacharset="iso-8859-1">
4+
<linkrel="icon"type="image/x-icon"href="./favicon.png">
45
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.js"></script>
56
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-gl-2.4.2.min.js"></script>
67
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js"></script>

‎pyscriptjs/examples/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ <h2 class="text-2xl font-bold text-blue-600"><a href="./panel.html" target=”_b
9090
WARNING: This examples takes a little longer to load. So be patient :)
9191
</p>
9292

93+
<h2class="text-2xl font-bold text-blue-600"><ahref="./panel_deckgl.html"target=”_blank”>NYC Taxi Data Panel DeckGL Demo</a></h2>
94+
<p>Interactive application exploring the NYC Taxi dataset using Panel and DeckGL
95+
96+
WARNING: This examples takes a little longer to load. So be patient :)
97+
</p>
98+
9399
<h2class="text-2xl font-bold text-blue-600"><ahref="./toga/freedom.html"target=”_blank”>Freedom Units!</a></h2>
94100
<p>A Toga application (a Fahrenheit to Celsius converter), rendered as a Single Page App</p>
95101

‎pyscriptjs/examples/panel.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<head>
33
<title>Panel Example</title>
44
<metacharset="iso-8859-1">
5+
<linkrel="icon"type="image/x-icon"href="./favicon.png">
56
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.js"></script>
67
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js"></script>
78
<scripttype="text/javascript"src="https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.4.2.min.js"></script>

‎pyscriptjs/examples/panel_deckgl.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<htmllang="en">
33
<head>
44
<metacharset="utf-8">
5+
<linkrel="icon"type="image/x-icon"href="./favicon.png">
56
<metaname="apple-mobile-web-app-capable"content="yes">
67
<metaname="apple-mobile-web-app-status-bar-style"content="default">
78
<metaname="theme-color"content="#0072b5">

‎pyscriptjs/examples/panel_kmeans.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<htmllang="en">
33
<head>
44
<metacharset="utf-8">
5+
<linkrel="icon"type="image/x-icon"href="./favicon.png">
56
<metaname="apple-mobile-web-app-capable"content="yes">
67
<metaname="apple-mobile-web-app-status-bar-style"content="default">
78
<metaname="theme-color"content="#000000">

‎pyscriptjs/examples/panel_stream.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<htmllang="en">
33
<head>
44
<metacharset="utf-8">
5-
<metacharset="utf-8">
5+
<linkrel="icon"type="image/x-icon"href="./favicon.png">
66
<metaname="apple-mobile-web-app-capable"content="yes">
77
<metaname="apple-mobile-web-app-status-bar-style"content="default">
88
<metaname="theme-color"content="#000000">

‎pyscriptjs/src/components/pybox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class PyBox extends HTMLElement {
5454

5555
this.widths.forEach((width,index)=>{
5656
constnode:ChildNode=mainDiv.childNodes[index];
57-
addClasses(node,[width,'mx-4'])
57+
addClasses(node,[width,'mx-1'])
5858

5959
})
6060

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp