[bug] Python API : gmsh.merge(...) crashes if matplotlib is imported
Description
If matplotlib
is imported then Python crashes when calling gmsh.merge("file.msh")
.
The snippets below crashes (suppose square.msh
exists) :
import gmsh
import matplotlib.pyplot as plt
gmsh.initialize()
gmsh.merge("square.msh")
gmsh.finalize()
Commenting the line importing matplotlib
makes the code work again.
Inverting the import does not solve the problem.
Details
This issue has been found using Python3 and :
- Home made GMSH version 4.5.3-git-6762ee8c
- Also tested with the stable SDK
edit : the problem does not appear on another computer using GMSH 4.4.0-bea1e5dd
Edited by Bertrand Thierry