Skip to content

Commit 7d24698

Browse files
authored
Merge branch 'master' into dash-wind-streaming
2 parents 44590f7 + 2576bfe commit 7d24698

File tree

30 files changed

+74
-57
lines changed

30 files changed

+74
-57
lines changed

.DS_Store

-10 KB
Binary file not shown.

.circleci/config.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,18 @@ jobs:
9999
fi
100100
git config --global user.email '<>' # Leave email blank
101101
git config --global user.name "Circle MonoRepo Automatic Deployer"
102-
echo $PLOTLY_GA_CODE > ~/dash-sample-apps/apps/"$APP"/assets/plotly_ga.js
103-
git add ~/dash-sample-apps/apps/"$APP"/assets/plotly_ga.js && git commit -m "Deployed commit: $CIRCLE_SHA1"
104-
git remote add $APP https://dash-gallery.plotly.host/GIT/$APP
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..."
102+
if [ -d ~/dash-sample-apps/apps/"$APP"/ ]
103+
then
104+
echo $PLOTLY_GA_CODE > ~/dash-sample-apps/apps/"$APP"/assets/plotly_ga.js
105+
git add ~/dash-sample-apps/apps/"$APP"/assets/plotly_ga.js && git commit -m "Deployed commit: $CIRCLE_SHA1"
106+
git remote add $APP https://dash-gallery.plotly.host/GIT/$APP
107+
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..."
108+
fi
106109
done
107110
- run:
108111
name: Push to production
109112
command: |
110-
git push git@github.com:plotly/dash-sample-apps master:production
113+
git push --force git@github.com:plotly/dash-sample-apps master:production
111114
112115
workflows:
113116
version: 2

apps/dash-brain-viewer/assets/default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
/* PLotly.js
20-
–––––––––––––––––––––––––––––––––––––––––––––––––– */
20+
––––––––––––––––––––––––––––––––––––––––––––––– */
2121
/* plotly.js's modebar's z-index is 1001 by default
2222
* https://github.com/plotly/plotly.js/blob/7e4d8ab164258f6bd48be56589dacd9bdd7fded2/src/css/_modebar.scss#L5
2323
* In case a dropdown is above the graph, the dropdown's options

apps/dash-cytoscape-phylogeny/runtime.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/dash-cytoscape/runtime.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/dash-daq-iv-tracer/runtime.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/dash-daq-tektronix350/.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/dash-datashader/README.md

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,43 @@ Dash abstracts away all of the technologies and protocols required to build an i
55

66
Try out the [demo app here](https://dash-gallery.plotly.host/dash-datashader/).
77

8+
![screenshot](assets/datashader.png)
89

9-
To learn more check out our [documentation](https://dash.plot.ly).
1010

11-
### Contributing
11+
## Requirements
12+
We suggest you to create a separate virtual environment running Python 3 for this app, and install all of the required dependencies there. Run in Terminal/Command Prompt:
13+
14+
```
15+
git clone https://github.com/plotly/dash-sample-apps
16+
cd dash-sample-apps/apps/dash-datashader
17+
python3 -m virtualenv venv
18+
```
19+
In UNIX system:
20+
21+
```
22+
source venv/bin/activate
23+
```
24+
In Windows:
25+
26+
```
27+
venv\Scripts\activate
28+
```
29+
30+
To install all of the required packages to this environment, simply run:
1231

32+
```
33+
pip install -r requirements.txt
34+
```
1335

14-
Changes to master will get deployed automatically.
36+
and all of the required `pip` packages, will be installed, and the app will be able to run.
37+
38+
## How to use the app
39+
Run this app locally by:
40+
```
41+
python app.py
42+
```
43+
Open http://127.0.0.1:8050/ in your browser.
44+
45+
Drag a section of the top graph in order to display the zoomed in graph on the bottom.
46+
47+
To learn more check out our [documentation](https://dash.plot.ly).
37.8 KB
Loading

apps/dash-datashader/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ datashader>=0.6.9
55
gunicorn>=19.9.0
66
numpy>=1.14.1
77
pandas>=0.24.0
8+
fsspec>=0.3.3

0 commit comments

Comments
 (0)