From 4a409cd6d813c1ebd9f17d6bdcb53f5dab7039ff Mon Sep 17 00:00:00 2001 From: Chris Gregory Date: Thu, 6 May 2021 14:01:33 -0700 Subject: [PATCH] Fix tree exporter utilities import (#459) Fix tree exporter utilities import --- econml/_tree_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/econml/_tree_exporter.py b/econml/_tree_exporter.py index dcf281761..4fe3a70ec 100644 --- a/econml/_tree_exporter.py +++ b/econml/_tree_exporter.py @@ -21,7 +21,7 @@ matplotlib.use('Agg') import matplotlib.pyplot as plt except ImportError as exn: - from ..utilities import MissingModule + from .utilities import MissingModule # make any access to matplotlib or plt throw an exception matplotlib = plt = MissingModule("matplotlib is no longer a dependency of the main econml package; "