I wanted to run Seaborn.ViolinPlot in bokeh. I searched for it and came to know about bokeh.mpl.to_bokeh() function. But I am not able to import mpl from bokeh and this is what i am getting
“from bokeh import mpl
Traceback (most recent call last):
File “”, line 1, in
ImportError: cannot import name mpl”
I have installed anaconda for python2 and updated to Bokeh latest version. Is the problem is with python 2 ?? please solve my problem.
MPL compatibility relied on a third party library "mplexporter" that only ever partially worked, and eventually became abandoned. We did not have the resources to take on maintaining this outside project, especially since MPL compat never worked very well to begin with, so MPL support was dropped.
You could certainly draw this kind of plot in Bokeh directly, there's just not a high level API to do it automatically. The joyplot example has a similar kind of presentation:
On Mar 26, 2018, at 04:10, Kaushik Shakkari <[email protected]> wrote:
Hello,
I wanted to run Seaborn.ViolinPlot in bokeh. I searched for it and came to know about bokeh.mpl.to_bokeh() function. But I am not able to import mpl from bokeh and this is what i am getting
"from bokeh import mpl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name mpl"
I have installed anaconda for python2 and updated to Bokeh latest version. Is the problem is with python 2 ?? please solve my problem.
Hi,
I want to plot violin, but I don’t know how to draw the density map of violin, with the the factors as x range, and the link you provided above about joyplot example is no longer valid.
Thanks,
Qingfeng