Figure() function crashes Octave "Solved"

Problem description

Huge problem this morning, suddenly the figure() function crashes Octave. Scripts that use to work don’t anymore.
I just launch Octave, go in the command window, type the following:

figure
and Octave crashes…

Impossible to know if it’s due to a recent Linux update, I’ve not used Octave for about a week during which time updates have been applied. Also, I have another computer that has had the same updates but the figure() function works fine on that one.

Update: after posting this message, I reinstalled Octave and that cleared the problem!!!

My system

Linux Mint 20.2 Cinnamon 5.0.7
Linux Kernel 5.4.0-122-generic
Processor AMD Ryzen 7 3700X 8-Core Processor x 8
Memory 31.3 GiB
Graphics Card NVIDIA Corporation TU116[GeForce GTX 1660 Ti]

Octave 7.1.0, Flatpak, installed from Software Manager