Skip to content

Commit 0e5ce85

Browse files
Merge branch 'doc-prod'
2 parents e092552 + fe99558 commit 0e5ce85

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

doc/python/bio-alignment-chart.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ import pandas as pd
4747
df = (pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Genetic/gene_conservation.csv')
4848
.set_index('0')
4949
.loc[['consensus','conservation']]
50-
.T)
50+
.T
51+
.astype({"conservation": float}))
5152

5253
fig = px.bar(df, labels={ 'index': 'base' }, hover_name='consensus', y='conservation')
5354
fig.show()

doc/python/bio-manhattanplot.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,27 @@ ManhattanPlot allows you to visualize genome-wide association studies (GWAS) eff
3838

3939
```python
4040
import pandas as pd
41-
import dash_bio as dashbio
41+
import dash_bio
4242

4343
df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/manhattan_data.csv')
4444

4545

46-
dashbio.ManhattanPlot(
46+
dash_bio.ManhattanPlot(
4747
dataframe=df,
4848
)
4949
```
5050

51-
## Highlighted points color, and colors of the suggestive line and the genome-wide line.
51+
## Highlighted points color, and colors of the suggestive line and the genome-wide line
5252
Change the color of the points that are considered significant.
5353

5454
```python
5555
import pandas as pd
56-
import dash_bio as dashbio
56+
import dash_bio
5757

5858

5959
df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/manhattan_data.csv')
6060

61-
dashbio.ManhattanPlot(
61+
dash_bio.ManhattanPlot(
6262
dataframe=df,
6363
highlight_color='#00FFAA',
6464
suggestiveline_color='#AA00AA',

doc/python/bio-volcano-plot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ Change the size of the points on the scatter plot, and the widths of the effect
5757

5858
```python
5959
import pandas as pd
60-
import dash_bio as dashbio
60+
import dash_bio
6161

6262
df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/volcano_data1.csv')
6363

64-
dashbio.VolcanoPlot(
64+
dash_bio.VolcanoPlot(
6565
dataframe=df,
6666
point_size=10,
6767
effect_size_line_width=4,

0 commit comments

Comments
 (0)