diff --git a/Demo_Cookbook.py b/Demo_Cookbook_Browser.py similarity index 100% rename from Demo_Cookbook.py rename to Demo_Cookbook_Browser.py diff --git a/Demo_Matplotlib_Multiple.py b/Demo_Matplotlib_Browser.py similarity index 100% rename from Demo_Matplotlib_Multiple.py rename to Demo_Matplotlib_Browser.py diff --git a/Demo_Matplotlib_Ping_Graph.py b/Demo_Matplotlib_Ping_Graph.py index b0083fb7..d20755a8 100644 --- a/Demo_Matplotlib_Ping_Graph.py +++ b/Demo_Matplotlib_Ping_Graph.py @@ -642,11 +642,10 @@ def main(): canvas_elem = g.Canvas(size=SIZE, background_color='white') # get the canvas we'll be drawing on # define the form layout - layout = [[canvas_elem], - [g.ReadFormButton('Exit', size=(4,1), pad=((130, 0), 3))]] + layout = [[ canvas_elem, g.ReadFormButton('Exit', pad=(0,(210,0)))] ] # create the form and show it without the plot - form = g.FlexForm('Demo Application - Embedding Matplotlib In PySimpleGUI', background_color='white') + form = g.FlexForm('Ping Graph', background_color='white') form.Layout(layout) form.ReadNonBlocking() @@ -668,11 +667,5 @@ def main(): photo = draw(fig, canvas) -if __name__ == '__main__': - main() - -# !/usr/bin/env python3 -# -*- coding: utf-8 -*- - if __name__ == '__main__': main()