Skip to content

Commit e0a07a7

Browse files
Merge branch 'master' into dash-brain-viewer
2 parents 3204154 + a56b6e1 commit e0a07a7

File tree

7 files changed

+60
-29
lines changed

7 files changed

+60
-29
lines changed

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-drug-discovery/assets/app.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
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
2424
* will be rendered below the modebar
2525
* Increase the select option's z-index
2626
*/
2727

28-
/* This was actually not quite right -
28+
/* This was actually not quite right ----
2929
dropdowns were overlapping each other (edited October 26)
3030
3131
.Select {

apps/dash-image-processing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is a demo of the Dash interactive Python framework developed by [Plotly](ht
55

66
Dash abstracts away all of the technologies and protocols required to build an interactive web-based application and is a simple and effective way to bind a user interface around your Python code. To learn more check out our [documentation](https://plot.ly/dash).
77

8-
Try out the [demo app here](https://dash-playground.plotly.host/dash-iamge-processing/).
8+
Try out the [demo app here](https://dash-gallery.plotly.host/dash-image-processing/).
99

1010
![screenshot](images/screenshot.png "Screenshot")
1111

apps/dash-oil-gas-ternary/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ This is a demo of Dash interactive Python framework developed by [Plotly](https/
66

77
![Animated](assets/Screencast.gif)
88

9+
Try out the [demo app here](https://dash-gallery.plotly.host/dash-oil-gas-ternary/).
10+
911
## Screenshots
1012
![initial](assets/Screenshot.png)
1113

1214
## Requirements
1315
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:
1416

1517
```
16-
git clone https://github.com/plotly/dash-sample-apps.git
17-
cd dash-oil-gas-ternary
18+
git clone https://github.com/plotly/dash-sample-apps
19+
cd dash-sample-apps/apps/dash-oil-gas-ternary
1820
python3 -m virtualenv venv
1921
```
2022
In UNIX system:

apps/dash-opioid-epidemic/README.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,37 @@
22

33
Poison induced death data was downloaded from [CDC Wonder](dash_app_screencast.gif), using cause-of-death codes X40–X44 (unintentional), X60–X64 (suicide), X85 (homicide), or Y10–Y14 (undetermined intent).
44

5-
[View the Dash app](https://dash-playground.plotly.host/dash-opioid-epidemic/)
5+
[View the Dash app](https://dash-gallery.plotly.host/dash-opioid-epidemic/)
66

77
## Getting Started
88

99
### Running the app locally
10-
11-
First create a virtual environment with conda or venv inside a temp folder, then activate it.
10+
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:
1211

1312
```
14-
virtualenv venv
13+
git clone https://github.com/plotly/dash-sample-apps
14+
cd dash-sample-apps/apps/dash-opioid-epidemic
15+
python3 -m virtualenv venv
16+
```
17+
In UNIX system:
1518

16-
# Windows
17-
venv\Scripts\activate
18-
# Or Linux
19+
```
1920
source venv/bin/activate
20-
2121
```
22-
23-
Clone the git repo, then install the requirements with pip
22+
In Windows:
2423

2524
```
26-
27-
git clone https://github.com/plotly/dash-sample-apps
28-
cd dash-sample-apps/apps/dash-opioid-epidemic
29-
pip install -r requirements.txt
30-
25+
venv\Scripts\activate
3126
```
3227

33-
Run the app
28+
To install all of the required packages to this environment, simply run:
3429

30+
```
31+
pip install -r requirements.txt
3532
```
3633

37-
python app.py
34+
and all of the required `pip` packages, will be installed, and the app will be able to run.
3835

39-
```
4036

4137
![plotly-dash-screencast](assets/app_screencast.gif)
4238

apps/dash-svm/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a learning tool and exploration app made using the Dash interactive Pyth
44

55
Dash abstracts away all of the technologies and protocols required to build an interactive web-based application and is a simple and effective way to bind a user interface around your Python code. To learn more check out our [documentation](https://plot.ly/dash).
66

7-
Try out the [demo app here](https://dash-svm.plot.ly/).
7+
Try out the [demo app here](https://dash-gallery.plotly.host/dash-svm/).
88

99
![alt text](images/screenshot.png "Screenshot")
1010

@@ -32,7 +32,7 @@ source venv/bin/activate
3232

3333
Clone the git repo, then install the requirements with pip
3434
```
35-
git clone https://github.com/plotly/dash-sample-apps/apps/dash-svm.git
35+
git clone https://github.com/plotly/dash-sample-apps
3636
cd dash-sample-apps/apps/dash-svm
3737
pip install -r requirements.txt
3838
```
@@ -62,7 +62,7 @@ An SVM is a popular Machine Learning model used in many different fields. You ca
6262

6363
* **Xing Han Lu** - *Initial Work* - [@xhlulu](https://github.com/xhlulu)
6464
* **Matthew Chan** - *Code Review* - [@matthewchan15](https://github.com/matthewchan15)
65-
* **Yunke Xiao** - *Redesign* - [@YunkXiao](https://github.com/YunkeXiao)
65+
* **Yunke Xiao** - *Redesign* - [@YunkeXiao](https://github.com/YunkeXiao)
6666
* **celinehuang** - *Code Review* - [@celinehuang](https://github.com/celinehuang)
6767

6868

0 commit comments

Comments
 (0)