PatrikHlobil / Pandas-Bokeh

Bokeh Plotting Backend for Pandas and GeoPandas
MIT License
878 stars 112 forks source link

multi y axis charts #114

Open zdenop opened 3 years ago

zdenop commented 3 years ago

Is it possible to create multi y axis charts like this:

image

or like this?

image

At the moment I can generate only this:

image

with following code:

import pandas_bokeh
pandas_bokeh.output_notebook()

dfx = pd.DataFrame({
    'Month': ['2021-01', '2021-02', '2021-03', '2021-04'],
    'Total': [1500, 1200, 1700, 1600],
    'Average': [75.0, 63.15, 73.91, 76.19],
})
dfx.plot_bokeh(x="Month",
               title="Example",
               line_width=4,
               ylabel = "Totals",
               colormap=["#0000ff99", "#ff000099"])
PatrikHlobil commented 3 years ago

Hello @zdenop,

I already started to implement a feature like this. however, this is a pretty big feature request right now unfortunatly and I am quite busy at the moment.

Best Patrik