Skip to content

Commit 92db9e0

Browse files
Merge branch 'master' into dash-live-model-training
2 parents e05449b + 9935191 commit 92db9e0

303 files changed

Lines changed: 292755 additions & 17 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
echo $PLOTLY_GA_CODE > ~/dash-sample-apps/apps/"$APP"/assets/plotly_ga.js
103103
git add ~/dash-sample-apps/apps/"$APP"/assets/plotly_ga.js && git commit -m "Deployed commit: $CIRCLE_SHA1"
104104
git remote add $APP https://dash-gallery.plotly.host/GIT/$APP
105-
git push $APP master --force
105+
git push $APP master --force || echo "Deploy failed because there is no such app on Dash Gallery: $APP. Please use the web interface to create an app with this name. Continuing deployments..."
106106
done
107107
- run:
108108
name: Push to production

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ vv/
33
*.DS_Store
44
venv/
55
.idea/
6-
.Rproj.user
6+
.DS_Store
7+
.Rproj.user

apps/dash-datashader/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ To learn more check out our [documentation](https://dash.plot.ly).
77

88
### Contributing
99

10+
1011
Changes to master will get deployed automatically.
7.05 KB
Loading

apps/dash-datashader/assets/style.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ h3 {
3030
justify-content: space-evenly;
3131
}
3232

33+
#logo {
34+
width: 150px;
35+
height: 30px;
36+
padding-left: 60px;
37+
}
38+
3339
@media only screen and (max-width: 800px) {
3440
#header {
3541
max-width: 100%;
@@ -42,6 +48,7 @@ h3 {
4248

4349
#logo {
4450
margin-bottom: 1rem;
51+
padding-left: 0px;
4552
}
4653

4754
#header h3 {
@@ -50,6 +57,10 @@ h3 {
5057
max-width: none;
5158
}
5259

60+
#header-1, #header-2{
61+
font-size: 1.5rem;
62+
}
63+
5364
#header-1 {
5465
text-align: center;
5566
}
@@ -63,6 +74,10 @@ h3 {
6374
margin: 0;
6475
}
6576

77+
#graph-2>div {
78+
margin-bottom: 40px;
79+
}
80+
6681
}
6782

6883

@@ -92,6 +107,3 @@ p, #header-2 {
92107
display: none;
93108
}
94109

95-
#logo {
96-
height: 5rem;
97-
}

apps/dash-datashader/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cloudpickle>=1.1.1
2-
dash>=0.42.0
2+
dash>=1.0.0
33
dask>=0.17.1
44
datashader>=0.6.9
55
gunicorn>=19.9.0

apps/dash-object-detection/app.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ def markdown_popup():
122122
className="eight columns",
123123
children=[
124124
html.Img(
125-
id="logo-mobile",
126-
src=app.get_asset_url("dash-logo-stripe.png"),
125+
id="logo-mobile", src=app.get_asset_url("dash-logo.png")
127126
),
128127
html.Div(
129128
id="header-section",
@@ -278,8 +277,7 @@ def markdown_popup():
278277
html.Div(
279278
className="img-container",
280279
children=html.Img(
281-
id="logo-web",
282-
src=app.get_asset_url("dash-logo-stripe.png"),
280+
id="logo-web", src=app.get_asset_url("dash-logo.png")
283281
),
284282
),
285283
html.Div(id="div-visual-mode"),

apps/dash-object-detection/assets/base.css

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,16 +399,36 @@ there.
399399

400400

401401
/* Larger than mobile */
402-
@media (min-width: 400px) {}
402+
@media (min-width: 300px) {
403+
#logo-mobile {
404+
margin: 0 auto;
405+
}
406+
}
403407

404408
/* Larger than phablet (also point when grid becomes active) */
405-
@media (min-width: 550px) {}
409+
@media (min-width: 550px) {
410+
#logo-mobile {
411+
margin: 0 auto;
412+
}
413+
}
406414

407415
/* Larger than tablet */
408-
@media (min-width: 750px) {}
416+
@media (min-width: 750px) {
417+
#logo-mobile {
418+
margin: 0 auto;
419+
}
420+
}
409421

410422
/* Larger than desktop */
411-
@media (min-width: 1000px) {}
423+
@media (min-width: 1000px) {
424+
#logo-mobile {
425+
margin: 0 auto;
426+
}
427+
}
412428

413429
/* Larger than Desktop HD */
414-
@media (min-width: 1200px) {}
430+
@media (min-width: 1200px) {
431+
#logo-mobile {
432+
margin: 0 auto;
433+
}
434+
}
-3.75 KB
Binary file not shown.
9 KB
Loading

0 commit comments

Comments
 (0)