From 5b0421a10497f89ab62e9c0f75e760be38eb5d27 Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Tue, 28 Mar 2017 14:09:34 +0800 Subject: [PATCH] remove plot_curve in v2.__init__ to avoid importing matplotlib when test --- python/paddle/v2/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/paddle/v2/__init__.py b/python/paddle/v2/__init__.py index 848719cddda..25526bf409c 100644 --- a/python/paddle/v2/__init__.py +++ b/python/paddle/v2/__init__.py @@ -29,12 +29,11 @@ import inference import networks import py_paddle.swig_paddle as api import minibatch -import plot_curve __all__ = [ 'optimizer', 'layer', 'activation', 'parameters', 'init', 'trainer', 'event', 'data_type', 'attr', 'pooling', 'data_feeder', 'dataset', 'reader', - 'topology', 'networks', 'infer', 'plot_curve' + 'topology', 'networks', 'infer' ] -- GitLab