wdecoster / NanoPlot

Plotting scripts for long read sequencing data
http://nanoplot.bioinf.be
MIT License
413 stars 47 forks source link

modified functions in timeplots.py to use plotly #232

Closed iliasbukraa closed 3 years ago

iliasbukraa commented 3 years ago

modified the following functions to use plotly instead of seaborn/mathplotlib:

for the linear regression plot a new dependency is needed however → statsmodels=0.12.2 (to draw the regression line)

iliasbukraa commented 3 years ago

any idea because I have no clue why the import doesn't work...

wdecoster commented 3 years ago

NanoPlot doesn't depend on nanocomp - nanocomp doesn't get installed and is thus not importable. Given the size of the function I would suggest you either copy it to NanoPlot too (and avoid adding a dependency), or alternatively move the function to NanoPlot and import it from nanoplot for nanocomp (as nanocomp already depends on nanoplot for other functions).