Using Bokeh property editor with DynamicMap

Is it possible to use the Panel Bokeh property editor with a DynamicMap? I’d really like a way to be able to customize a plot directly from the browser. I tried calling hv.render on the DynamicMap and passing that to meta_widgets, but whenever I change any options in the editor they dont seem to stick. Some of the options also look wrong to me.

I guess one option is to have a function that returns a new DynamicMap with a callable that has opts set according to some panel components. Then just replace the old one DynamicMap in your layout.

Another possible solution is .apply.opts and .apply as described on the Responding to Events page.