From b0e30b4c3d274e5ffbc8536fb67e467619d5a04d Mon Sep 17 00:00:00 2001 From: JP+ <63192177+joachimpoutaraud@users.noreply.github.com> Date: Thu, 4 Jan 2024 12:50:31 +0100 Subject: [PATCH] Update _show.py --- musicalgestures/_show.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/musicalgestures/_show.py b/musicalgestures/_show.py index 7e6304e..c87658a 100644 --- a/musicalgestures/_show.py +++ b/musicalgestures/_show.py @@ -9,7 +9,7 @@ # from IPython.core.display import Video from base64 import b64encode import musicalgestures -# from musicalgestures._utils import get_widthheight +from musicalgestures._utils import in_colab def mg_show(self, filename=None, key=None, mode='windowed', window_width=640, window_height=480, window_title=None): @@ -39,7 +39,7 @@ def show(file, width=640, height=480, mode='windowed', title='Untitled', parent= """ # Check's if the environment is a Google Colab document - if musicalgestures._utils.in_colab(): + if in_colab(): mode = 'notebook' if mode.lower() == 'windowed':