Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 795 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 795 Bytes

violin

A simple workaround to produce violin plot with highcharts.js

violin.Violin(center='median', box=(25,75), whiskers=(5,95))

  center:    which central tendency to display: 'median'|'mean'
  box:       percentiles indicated by the box: pair of floats in range of [0,100]
  whiskers:  percentiles indicated by the whiskers: pair of floats in range of [0,100]

methods:

  addSeries(data, name=None)
    data:  list of values
    name:  name of the dataset
  
  series_list()
    returns violin plot series as a list of dicts

  series_json()
    returns violin plot series in JSON

Examples

Plotting random data with example.py
example2 example1