holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.61k stars 500 forks source link

responsive=True in hvplot ignores panel width and height specifications #5985

Open benbarn313 opened 9 months ago

benbarn313 commented 9 months ago
import xarray as xr
import cartopy.crs as ccrs
import hvplot.xarray
import panel as pn

pn.extension()

ds = xr.tutorial.open_dataset("air_temperature").isel(time=0)

pn.pane.HoloViews(ds.hvplot("lon", "lat", coastline=True, tiles=True).opts(responsive=True), width = 200, height = 100)

image

philippjfr commented 9 months ago

I do think it should respected it in this scenario, but could you explain why you're setting both fixed and responsive sizing?