Skip to content

versotym/violin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple workaround to produce violin plot with highcharts.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages