Skip to content

Commit 20b797c

Browse files
Merge branch 'doc-prod'
2 parents e0c1ac8 + 72b17b5 commit 20b797c

File tree

4 files changed

+16
-24
lines changed

4 files changed

+16
-24
lines changed

doc/python/bio-alignment-chart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Note that the AlignmentChart only returns a chart of the sequence, while Alignme
4444
import plotly.express as px
4545
import pandas as pd
4646

47-
df = (pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Genetic/gene_conservation.csv')
47+
df = (pd.read_csv('https://git.io/gene_conservation.csv')
4848
.set_index('0')
4949
.loc[['consensus','conservation']]
5050
.T
@@ -56,7 +56,7 @@ fig.show()
5656

5757
## Alignment Chart in dash_bio
5858

59-
```python no_display=true
59+
```python hide_code=true
6060
from IPython.display import IFrame
6161
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
6262
IFrame(snippet_url + 'bio-alignmentchart', width='100%', height=630)

doc/python/bio-clustergram.md

+6-13
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ import pandas as pd
4040
import dash_bio
4141

4242

43-
df = pd.read_csv(
44-
'https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Chromosomal/' +
45-
'clustergram_brain_cancer.csv',
46-
)
43+
df = pd.read_csv('https://git.io/clustergram_brain_cancer.csv')
4744

4845
dash_bio.Clustergram(
4946
data=df,
@@ -62,10 +59,8 @@ Change the colors of the dendrogram traces that are used to represent clusters,
6259
import pandas as pd
6360
import dash_bio
6461

65-
df = pd.read_csv(
66-
'https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Chromosomal/' +
67-
'clustergram_brain_cancer.csv',
68-
)
62+
63+
df = pd.read_csv('https://git.io/clustergram_brain_cancer.csv')
6964

7065
dash_bio.Clustergram(
7166
data=df,
@@ -90,10 +85,8 @@ Change the relative width and height of, respectively, the row and column dendro
9085
import pandas as pd
9186
import dash_bio
9287

93-
df = pd.read_csv(
94-
'https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Chromosomal/' +
95-
'clustergram_brain_cancer.csv',
96-
)
88+
89+
df = pd.read_csv('https://git.io/clustergram_brain_cancer.csv')
9790

9891
dash_bio.Clustergram(
9992
data=df,
@@ -107,7 +100,7 @@ dash_bio.Clustergram(
107100

108101
## Clustergram with Dash
109102

110-
```python no_display=true
103+
```python hide_code=true
111104
from IPython.display import IFrame
112105
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
113106
IFrame(snippet_url + 'bio-clustergram', width='100%', height=630)

doc/python/bio-manhattanplot.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ ManhattanPlot allows you to visualize genome-wide association studies (GWAS) eff
4040
import pandas as pd
4141
import dash_bio
4242

43-
df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/manhattan_data.csv')
43+
44+
df = pd.read_csv('https://git.io/manhattan_data.csv')
4445

4546

4647
dash_bio.ManhattanPlot(
@@ -56,7 +57,7 @@ import pandas as pd
5657
import dash_bio
5758

5859

59-
df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/manhattan_data.csv')
60+
df = pd.read_csv('https://git.io/manhattan_data.csv')
6061

6162
dash_bio.ManhattanPlot(
6263
dataframe=df,
@@ -68,7 +69,7 @@ dash_bio.ManhattanPlot(
6869

6970
## ManhattanPlot with Dash
7071

71-
```python no_display=true
72+
```python hide_code=true
7273
from IPython.display import IFrame
7374
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
7475
IFrame(snippet_url + 'bio-manhattanplot', width='100%', height=630)

doc/python/bio-volcano-plot.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ import pandas as pd
4141
import dash_bio
4242

4343

44-
df = pd.read_csv(
45-
'https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/' +
46-
'volcano_data1.csv'
47-
)
44+
df = pd.read_csv('https://git.io/volcano_data1.csv')
4845

4946
dash_bio.VolcanoPlot(
5047
dataframe=df,
@@ -59,7 +56,8 @@ Change the size of the points on the scatter plot, and the widths of the effect
5956
import pandas as pd
6057
import dash_bio
6158

62-
df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/volcano_data1.csv')
59+
60+
df = pd.read_csv('https://git.io/volcano_data1.csv')
6361

6462
dash_bio.VolcanoPlot(
6563
dataframe=df,
@@ -71,7 +69,7 @@ dash_bio.VolcanoPlot(
7169

7270
## VolcanoPlot with Dash
7371

74-
```python no_display=true
72+
```python hide_code=true
7573
from IPython.display import IFrame
7674
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
7775
IFrame(snippet_url + 'bio-volcano', width='100%', height=630)

0 commit comments

Comments
 (0)