Skip to main content

Python package extending plotly for scientific computing and visualization

Project description

plotly-scientific-plots

This python library is meant to augment the plotly and dash visualization libraries. It is designed to facilitate rapid and beautiful data visualizations for research scientists and data scientists.

Its advantages over naive plotly are:

  • One-line commands to make plots
  • Integrated scatistical testing above plots
  • Expanded plot types (such as confusion amtrices, ROC plots)
  • more 'Matlab-like' interface for those making the Matlab --> python transition

Requirements and installation

Required packages:

  • numpy
  • scipy
  • plotly
  • colorlover
  • dash
  • dash_core_components
  • dash_html_components

To install, simply use pip install plotly-scientific-plots

Examples & Usage

Plots 2 overlapping normalized histograms, including overhead boxplots and data points.

Furthermore performs statistical testing to differentiate the two population samples. Tests are:

  • KS: Kolmogorov-Smirnov statistic on 2 samples.
  • MW: Mann-Whitney rank test on two samples.
  • T: T-test for the means of two independent samples of scores.

All tests are done via scipy

plot2Hists(data_source_1, data_source_2, names=['Data 1','Data 2'],
           normHist=True, title='Comparison of 2 Data Sources',
           KS=True, MW=True, T=True))

plot2Hist_1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plotly-scientific-plots-0.1.0.3.tar.gz (24.7 kB view hashes)

Uploaded Source

Built Distribution

plotly_scientific_plots-0.1.0.3-py3-none-any.whl (49.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page