From 14aced457fb191f2b6f9304a57f7c25995f20db8 Mon Sep 17 00:00:00 2001 From: Ilias Bilionis Date: Mon, 3 Aug 2015 20:29:24 -0400 Subject: [PATCH] Fixed transformation plotting bug and added test that demonstrates the problem. --- ib_tests/test_transformation_plot.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ib_tests/test_transformation_plot.py diff --git a/ib_tests/test_transformation_plot.py b/ib_tests/test_transformation_plot.py new file mode 100644 index 00000000..e58cef13 --- /dev/null +++ b/ib_tests/test_transformation_plot.py @@ -0,0 +1,10 @@ +import sys +import os +# Make sure we load the GP that is here +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) +import GPy +import matplotlib.pyplot as plt + +f = GPy.constraints.Logexp() +f.plot() +plt.show(block=True)