Skip to content

Commit f862ec0

Browse files
committed
updates colors
1 parent c3a9d3e commit f862ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

covviz/ped.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ def parse_ped(path, traces, sample_col, sex_chroms, sex_vals="1,2"):
8181

8282
# male
8383
if row["sex"] == male:
84-
ped_data["inferred"]["color"].append("rgba(12,44,132,0.5)")
84+
ped_data["inferred"]["color"].append("rgba(144,237,125,0.5)")
8585
ped_data["inferred"]["hover"].append(
8686
"Sample: %s<br>Inferred X CN: 1" % (row[sample_col],)
8787
)
8888
# female
8989
elif row["sex"] == female:
90-
ped_data["inferred"]["color"].append("rgba(227,26,28,0.5)")
90+
ped_data["inferred"]["color"].append("rgba(247,163,92,0.5)")
9191
ped_data["inferred"]["hover"].append(
9292
"Sample: %s<br>Inferred X CN: 2" % (row[sample_col],)
9393
)

0 commit comments

Comments
 (0)