tritemio / FRETBursts

Burst analysis software for smFRET. **Moved to OpenSMFS organization**
https://github.com/OpenSMFS/FRETBursts
GNU General Public License v2.0
16 stars 17 forks source link

Improve visualisation with Seaborn #4

Closed tritemio closed 9 years ago

tritemio commented 10 years ago

Seaborn builds upon Matplotlib and provides several high-quality preset plots.

Integrating Seaborn would improve the data representation and would simplify creation of complex plots.

For example, seaborn has builtin function to plot 2-D histograms with marginal histograms. Or distributions with histograms, rug-plots and kernel density estimation.

The violin plot is also interesting to plot the distribution of fitted FRET efficiencies in each channel:

http://www.stanford.edu/~mwaskom/software/seaborn/examples/violinplots.html

tritemio commented 9 years ago

Seaborn is now an optional dependency (3df6d17e059e00f091fa471e03885693668c03b5).

The new function notebook_init() uses seaborn to set the default plot style. Also alex_jointplot() uses seaborn to plot ALEX histogram and marginal distributions.