PatrikHlobil / Pandas-Bokeh

Bokeh Plotting Backend for Pandas and GeoPandas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation warning for Shapely

techexo opened this issue · comments

Hello,
Running the plot_bokeh() function on a DataFrame, I now have the following Deprecation Warning:

/home/eloi/.local/lib/python3.10/site-packages/pandas_bokeh/geoplot.py:118: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for polygon in geometry:

I couldn't find it mentioned in already opened issues, is there a plan to fix this for Python 3.10?
(pandas_bokeh was installed with pip3 on a new environment)

Regards
Eloi