PlotlyJS plot configuration settings in VSCode

How can I change the plot configuration settings for PlotlyJS when I plot from VSCode (either notebook or editor)?

In VSCode, the configuration settings always seem to be overwritten. For example, the code below should remove the ModeBar, but when displayed in VSCode it always appears with the same configuration (i.e. ModeBar pops up even though I have specified this as false):

using PlotlyJS

plot(
    scatter(
        mode="markers",
        x=1:10,
        y=1:10
    ),
    config=PlotConfig(displayModeBar=false)
) 

I can save the plot to HTML, open it in an internet browser and the plot works as expected. Any thoughts on how I can get this to work correctly in VSCode?
Note: Currently using Julia 6.1.3 and Julia 1.5.6 extension for VSCode.

I also struggle, under OS Windows everything works fine, but under Linux the error messages are:

Failed to load module "canberra-gtk-module"

I have already installed the module via

sudo apt-get install libcanberra-gtk-module

The error in the internet browser (that tries to display the plot) is:

Firefox can’t find the file at /tmp/jl_BpT6F8.plotlyjs-jl.html.

The file exists, but it seems to be corrupted. Any ideas?