plotly / dash-bio

Open-source bioinformatics components for Dash
https://dash-gallery.plotly.host/Portal/?search=Bioinformatics
MIT License
531 stars 192 forks source link

ManhattanPlot Bug when nChr==1 #648

Open suqingdong opened 2 years ago

suqingdong commented 2 years ago

When nChr is equal to 1, ManhattanPlot will produce the following bug:

image

Fix

dash_bio/component_factory/_manhattan.py image

tdeboer-ilmn commented 2 years ago

Indeed just ran into this, so seems not fixed.....go.Scattergl should have the name as a parameter, not a key in the marker dict.