holoviz / hvplot

A high-level plotting API for pandas, dask, xarray, and networkx built on HoloViews
https://hvplot.holoviz.org
BSD 3-Clause "New" or "Revised" License
1.07k stars 104 forks source link

count of displayed Hover Information on POINT Data vs on PolyGon in Pyviz/ hvplot #233

Open sebgeb1964 opened 5 years ago

sebgeb1964 commented 5 years ago

https://hvplot.pyviz.org/user_guide/Geographic_Data.html

In the Geopandas section you can find two examples displaying Data, but only the second one, with 'Polygon' Geodata intead of 'Points', is presenting all of the extra Information from the geopandas file, while hovering over the Map.

I've tried to manipulate the Points to Polygons but hope there is a better solution.

geopandas hover Information only lat,lon - https://i.stack.imgur.com/Eflz4.png

geopandas hover Information complete Dataframe - https://i.stack.imgur.com/hWrwA.png

philippjfr commented 4 years ago

You can declare additional columns to add to the hover with hover_cols. The inconsistency between the two plot types isn't ideal though.