From 3ee1e686b4073afe4dc0a30ccbdebf06bd53c87c Mon Sep 17 00:00:00 2001 From: Filipe de Avila Belbute Peres Date: Mon, 30 Jan 2017 03:34:09 -0500 Subject: [PATCH] Added import time statement to __init__ in visualize to avoid undefined name error --- Code/physicsTable/visualize/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/physicsTable/visualize/__init__.py b/Code/physicsTable/visualize/__init__.py index 13072aa..5cf03ff 100644 --- a/Code/physicsTable/visualize/__init__.py +++ b/Code/physicsTable/visualize/__init__.py @@ -1,3 +1,4 @@ +import time from warnings import warn @@ -50,4 +51,4 @@ def pgFig(*kwds, **args): raise Exception('Need matplotlib for pgFig!s') LIGHTGREY = pg.Color('lightgrey') YELLOW = pg.Color('Yellow') GOLD = pg.Color('Gold') -PURPLE = pg.Color('Purple') \ No newline at end of file +PURPLE = pg.Color('Purple')