RELEASE 3.5.2

This commit is contained in:
MikeTheWatchGuy 2018-09-23 12:16:50 -04:00
parent 50261625a4
commit 7e00dd16fe
19 changed files with 745 additions and 231 deletions

View file

@ -1,10 +1,9 @@
import math
import PySimpleGUI as sg
layout = [[sg.Graph(canvas_size=(400, 400), graph_bottom_left=(-100,-100), graph_top_right=(100,100), background_color='white', key='graph')],]
layout = [[sg.Graph(canvas_size=(400, 400), graph_bottom_left=(-100,-100), graph_top_right=(100,100), background_color='white', key='graph', tooltip='This is a cool graph!')],]
form = sg.FlexForm('Graph of Sine Function').Layout(layout)
form.Finalize()
form = sg.FlexForm('Graph of Sine Function', grab_anywhere=True).Layout(layout).Finalize()
graph = form.FindElement('graph')
graph.DrawLine((-100,0), (100,0))