From 8d5b59af6694b5c2e87db4e479bba5fba0381830 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Thu, 14 May 2020 22:45:21 -0400 Subject: [PATCH] Simplified --- DemoPrograms/Demo_OpenCV.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DemoPrograms/Demo_OpenCV.py b/DemoPrograms/Demo_OpenCV.py index 00d2a1af..ea5cf72d 100644 --- a/DemoPrograms/Demo_OpenCV.py +++ b/DemoPrograms/Demo_OpenCV.py @@ -34,10 +34,7 @@ def main(): [sg.Button('Exit', size=(7, 1), pad=((600, 0), 3), font='Helvetica 14')]] # create the window and show it without the plot - window = sg.Window('Demo Application - OpenCV Integration', - layout, - no_titlebar=False, - location=(0, 0)) + window = sg.Window('Demo Application - OpenCV Integration', layout, no_titlebar=False, location=(0, 0)) # locate the elements we'll be updating. Does the search only 1 time image_elem = window['-image-']