solve to close only the fig not all the tkinter window
don't save qvec if it's not used
test plot and train button implemented
Merge remote-tracking branch 'origin/master'