`hvplot.extensions(compatibility)` + `holoviews.opts.defaults(backend)` do not work together?

I have something like

hvplot.extension("bokeh", "matplotlib", compatibility="bokeh")
# Try to get consistent sizes
holoviews.opts.defaults(
    holoviews.opts.Curve(
        fig_size=500,
        linewidth=1,
    ),
    backend="matplotlib",
)

But the `linewidth does not seem to apply. Am I missing some interaction there? Later on I have effectively

def do_plot(backend)
    hvplot.output(backend=backend)
    curve = plot_data.hvplot(kind="line", x=x, label=label, line_dash="dashed")
    return curve

The line_dash is picked-up and translated well, it’s just the defaults are not applied appropriately. If I disable the compatiblity everything works except line_dash is not picked up (as expected)

PS: I am using this fix to get the holoviews.opts.defaults(backend) to work.

Opened issue: `hvplot.extension(compatibility)` does not work? · Issue #1378 · holoviz/hvplot · GitHub