Bokeh-Scala - How to generate violin plots

Hi
I have been able to generate “violin plots” using Python, in Enthought Canopy

The libraries listed below are those I have used as part of a larger program:

import numpy as np # linear algebra

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

import matplotlib.pyplot as plt

//This is the code where I generate the violin plots:

plt.figure(figsize=(10,10))

plt.subplot(2,2,1)

sns.violinplot(x=“Species”,y=“PetalLengthCm”,data=df)

plt.subplot(2,2,2)

sns.violinplot(x=“Species”,y=“PetalWidthCm”,data=df)

plt.subplot(2,2,3)

sns.violinplot(x=“Species”,y=“SepalLengthCm”,data=df)

plt.subplot(2,2,4)

sns.violinplot(x=“Species”,y=“SepalLengthCm”,data=df)

plt.show()

What I would like to accomplish is this:

**Use Bokeh-scala to generate the same plots in a Scala program, of course. **

What might be the approach here? Thanks

I am using Bokeh-Scala version 0.5 and Scala version: 2.11.12
The entry in my build file is:

“io.continuum.bokeh” %% “bokeh” % “0.5”,

···

On Monday, January 22, 2018 at 10:04:10 AM UTC-6, Riley wrote:

Hi
I have been able to generate “violin plots” using Python, in Enthought Canopy

The libraries listed below are those I have used as part of a larger program:

import numpy as np # linear algebra

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

import matplotlib.pyplot as plt

//This is the code where I generate the violin plots:

plt.figure(figsize=(10,10))

plt.subplot(2,2,1)

sns.violinplot(x=“Species”,y=“PetalLengthCm”,data=df)

plt.subplot(2,2,2)

sns.violinplot(x=“Species”,y=“PetalWidthCm”,data=df)

plt.subplot(2,2,3)

sns.violinplot(x=“Species”,y=“SepalLengthCm”,data=df)

plt.subplot(2,2,4)

sns.violinplot(x=“Species”,y=“SepalLengthCm”,data=df)

plt.show()

What I would like to accomplish is this:

**Use Bokeh-scala to generate the same plots in a Scala program, of course. **

What might be the approach here? Thanks