Matplotlib simple plot
This demo program shows how to create a single Matplotlib graph and show it in a GUI window.
Note the it lacks an "Event Loop". Normally instead of:
You would see an event loop:
event, values = window.read()
if event is None:
If you wanted to show multiple graphs or have other GUI elements, then you would replace that line of code with the event loop above and you'll have a "Normal" PySimpleGUI window.