Replies: 3 comments 1 reply
|
Hi @falkojudt There was some preliminary work shown in #366 for contours. We are planning to add https://hvplot.holoviz.org/reference/xarray/contour.html# https://hvplot.holoviz.org/reference/xarray/contourf.html We could consider adding pure |
0 replies
|
Here's a basic example, without the in-line contour labels. Currently it doesn't seem to be possible to add the labels, as discussed in holoviz/holoviews#4494 import holoviews as hv
from holoviews import opts
hv.extension("bokeh")
# radial subset
sub = uxds['relhum_200hPa'][0].subset.bounding_circle((0.0, 0.0), r=30)
# generate color plot
color_plot = sub.plot()
# generate contour plot
contour_plot = hv.operation.contours(color_plot, levels=3).opts(line_width=2)
# overlay them together
(color_plot * contour_plot).opts(frame_width=500, frame_height=500, title="Relative Humidity (200 hPa) with Contours") |
0 replies
|
Would you be willing to share the data used in this example? I'd love to try some things locally and see if I can replicate the plot you shared. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Is there a way to overlay contours on a color-filled shading, similar to this example where the background represents wind speed and the black contours indicate sea level pressure?
All reactions