matplotlib figure won't show when Python is run from VS Code integrated terminal
while accessing the file from terminal in VSCode, Save the plot, then it will be visible
plt.savefig('file_name.png')
I'm experiencing an issue while using VS Code to debug Python files. It seems that since last updating VS Code  matplotlib figures have stopped being displayed after calls of plt.show(). There are no errors reported, and the script continues to execute as though the call had been successful, so I'm not sure what the cause is.
Initially I thought it was perhaps something to do with the backend, so I tried running in various Python environments with different matplotlib.plot backends and Python versions but no success.
My only though is that it's possible VS Code settings are overriding the backend or environment somehow and might be causing this behaviour?