First of all, I apologize if this is not the place to post these kind of questions.
The issue is that matplotlib is apparently plotting a graph (I can recognize it from an old plot, so it's not some completely random graph) whenever I execute a script. Let me explain further.
The file is a test file, module_test.py and I have been trying to recognize where this problem may come from. Now I have written
import matplotlib.pyplot as plt
plt.show()
literally at the top of the script and when I run the test via python -m package.tests.module_test, that "random" graph pops up. It also pops up with any other test script, but doesn't show up when using python in the command console. The tests run fine otherwise.
Does anybody have any idea why this happens? I have tried deleting __pycache__ from all folders related to the issue, but of no help.
Here is the picture. It's a plot from a lab report I did months ago.
