import os
import sys
from typing import List
from scipy import signal
from scipy import interpolate
from scipy.interpolate import interp1d
import numpy as np
import csv
import itertools
from string import ascii_uppercase
import time
import matplotlib.pyplot as plt
import scipy.io as sio
import wvfreader
import math
from scipy.fft import fft, ifft, fftfreq
import xlsxwriter
import datetime
import PySimpleGUI as sg
Those are the imports of my program. I plot then show the graph with plt.show()
but after closing the graph window (pressing 'x' on the top right), the program still remains in the plt.show()
command and will not go further. Does the plt.show()
run into some kind of loop?
I tried different methods of plotting but nothing works. The program works without the plt.show()
perfectly. Even when I save the plots instead of showing up the program works. So, the main problem seems to be plt.show()
. Are there some other possibilities to show the plot instead of using plt.show()
?