PatrikHlobil / Pandas-Bokeh

Bokeh Plotting Backend for Pandas and GeoPandas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support rect glyph

fleimgruber opened this issue · comments

Trying to do e.g. df.plot(kind="rect", ...) results in ValueError: Allowed plot kinds are 'line', 'step', 'point', 'scatter', 'bar', 'barh', 'hist', 'area', 'pie', 'map'.

Do you plan to support the rect glyph? Is there a specific reason it is not yet supported? How much effort would you estimate for that? With some guidance I might tackle it myself.

Hi @fleimgruber ,

contributions are always welcome. How would such an API for an "rect"-plot look like. How should a dataframe be formed and how should the plot look like?

Best,

Patrik

How would such an API for an "rect"-plot look like. How should a dataframe be formed and how should the plot look like?

See the API reference and also this example.

contributions are always welcome.

I will have a look into the code then and try to come up with a PR.

Ah, got it. You want to implement something like a matrix plot. I actually wanted to implement this a long time ago but didn’t find the time to do so.

If you need any advice, please ask me.

Best Patrik