MannLabs / alphamap

An open-source Python package for the visual annotation of proteomics data with sequence specific knowledge.
https://mannlabs.github.io/alphamap/
Apache License 2.0
74 stars 18 forks source link

Softcode colors for experimental traces #7

Closed JuliaS92 closed 3 years ago

JuliaS92 commented 3 years ago

Using the library outside the app it would be nice to be able to define the trace colors yourself and importantly also add more than 5 traces. This currently gives and index out-of-bounds error on the color list.

ibludau commented 3 years ago

I appended the default colours for up to 10 traces now and included a new optional parameter in the plotting function to specify a list of custom colours.