Suddenly getting an error when trying to show any Plotly figure in Jupyterlab

In a jupyter lab notebook that worked well yesterday, suddenly anywhere a plotly figure was shown previously using the code display(someplotlyfigure), I instead get an icon like this:

plotlyjserror

After clicking to show the JS error I get:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'FigureModel' from module 'jupyterlab-plotly'
Error: Module jupyterlab-plotly, version ^5.23.0 is not registered, however,         5.22.0 is
    at f.loadClass (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/446.fdf8b1b233cb8c1783f6.js?v=fdf8b1b233cb8c1783f6:1:75041)
    at f.loadModelClass (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/327.68dbf8491690b3aff1e7.js?v=68dbf8491690b3aff1e7:1:10729)
    at f._make_model (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/327.68dbf8491690b3aff1e7.js?v=68dbf8491690b3aff1e7:1:7517)
    at f.new_model (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/327.68dbf8491690b3aff1e7.js?v=68dbf8491690b3aff1e7:1:5137)
    at http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/327.68dbf8491690b3aff1e7.js?v=68dbf8491690b3aff1e7:1:6385
    at Array.map ()
    at f._loadFromKernel (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/327.68dbf8491690b3aff1e7.js?v=68dbf8491690b3aff1e7:1:6278)
    at async f.restoreWidgets (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/446.fdf8b1b233cb8c1783f6.js?v=fdf8b1b233cb8c1783f6:1:77991)
Click to show javascript error.
Click to show javascript error.
Click to show javascript error.

I really donโ€™t know what the Error message โ€œError: Module jupyterlab-plotly, version ^5.23.0 is not registered, however, 5.22.0 isโ€ is trying to tell me and what I can do about it.

This only happens if I use FigureWidget instead of Figure to create the Plotly figure

When I load the package โ€œjupyterlab_plotlyโ€ using my environment, it succeeds, but it dos not have a __version__ attribute.
It is definitely not a package I have installed and I did not update my Python packages since yesterday so I have no idea why this would break out of the blue?