holoviz / holoviews

With Holoviews, your data visualizes itself.
https://holoviews.org
BSD 3-Clause "New" or "Revised" License
2.69k stars 402 forks source link

Feature request: In-line contour labels #4494

Open ktyle opened 5 years ago

ktyle commented 5 years ago

I don't see any means at present in hvplot (or for that matter, in the geoviews / holoviews / bokeh ecosystem) to provide for in-line contour labels, such as provided by matplotlib.pyplot's clabel method.

Is this by design (or does this capability exist and I'm just not aware of it)? I.e. since one can mouse over them and see the values, there is no need to provide them? Traditionally, those who like to generate and view contour-line plots of meteorological variables, such as sea-level pressure or 850 hPa temperature expect to see labels on at least some of the contour lines.

philippjfr commented 5 years ago

This was just not technically possible in the past, but with some more recent improvements this is almost within reach.

philippjfr commented 4 years ago

This really needs support in HoloViews itself so I've transferred it.

itsgifnotjiff commented 1 year ago

Mr. @ktyle did you end up implementing this in Holoviews/Hvplot using a Bokeh backend?

ianthomas23 commented 1 year ago

The logical approach here is to wait until contour line labelling is added to Bokeh. It is listed in the roadmap: https://github.com/bokeh/bokeh/discussions/12234.

itsgifnotjiff commented 1 year ago

Thank you Mr. @ianthomas23 , I really appreciate your work sir and as an added motivation/feel my pain exhibit 1 : image