Normally python execution halts when calling matplotlib.pyplot.show(). This worked fine 3 years ago when I wrote the following macro:
https://forum.freecadweb.org/viewtopic. ... 60#p306681. Back then, execution halted on matplotlib.pyplot.show() for the user to press <stop> or <add> and would then be terminated or continued, depending on the response. For some reason, in FC20, the plot is shown, but execution continues regardless. Did anything change in FC20 that might cause this behavior? If so, how could I overcome this? GOOGLE doesn't help me any further.
Code: Select all
OS: Ubuntu 22.04 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28896 (Git)
Build type: Unknown
Branch: master
Hash: 8996cddbc043d1d8d27d27c25d2a25916b5287e7
Python 3.10.4, Qt 5.15.3, Coin 4.0.0, OCC 7.5.1
Locale: English/United States (en_US)