diff --git a/GPy/testing/baseline/bayesian_gplvm_gradient.pdf b/GPy/testing/baseline/bayesian_gplvm_gradient.pdf new file mode 100644 index 00000000..a45531c3 Binary files /dev/null and b/GPy/testing/baseline/bayesian_gplvm_gradient.pdf differ diff --git a/GPy/testing/baseline/bayesian_gplvm_gradient.png b/GPy/testing/baseline/bayesian_gplvm_gradient.png deleted file mode 100644 index da28dd7e..00000000 Binary files a/GPy/testing/baseline/bayesian_gplvm_gradient.png and /dev/null differ diff --git a/GPy/testing/baseline/bayesian_gplvm_inducing.pdf b/GPy/testing/baseline/bayesian_gplvm_inducing.pdf new file mode 100644 index 00000000..a76acfb3 Binary files /dev/null and b/GPy/testing/baseline/bayesian_gplvm_inducing.pdf differ diff --git a/GPy/testing/baseline/bayesian_gplvm_inducing.png b/GPy/testing/baseline/bayesian_gplvm_inducing.png deleted file mode 100644 index 6f7c6c88..00000000 Binary files a/GPy/testing/baseline/bayesian_gplvm_inducing.png and /dev/null differ diff --git a/GPy/testing/baseline/bayesian_gplvm_inducing_3d.pdf b/GPy/testing/baseline/bayesian_gplvm_inducing_3d.pdf new file mode 100644 index 00000000..3660ae8b Binary files /dev/null and b/GPy/testing/baseline/bayesian_gplvm_inducing_3d.pdf differ diff --git a/GPy/testing/baseline/bayesian_gplvm_inducing_3d.png b/GPy/testing/baseline/bayesian_gplvm_inducing_3d.png deleted file mode 100644 index 920d8d21..00000000 Binary files a/GPy/testing/baseline/bayesian_gplvm_inducing_3d.png and /dev/null differ diff --git a/GPy/testing/baseline/bayesian_gplvm_latent.pdf b/GPy/testing/baseline/bayesian_gplvm_latent.pdf new file mode 100644 index 00000000..bc680315 Binary files /dev/null and b/GPy/testing/baseline/bayesian_gplvm_latent.pdf differ diff --git a/GPy/testing/baseline/bayesian_gplvm_latent.png b/GPy/testing/baseline/bayesian_gplvm_latent.png deleted file mode 100644 index 0bcd1bfb..00000000 Binary files a/GPy/testing/baseline/bayesian_gplvm_latent.png and /dev/null differ diff --git a/GPy/testing/baseline/bayesian_gplvm_latent_3d.pdf b/GPy/testing/baseline/bayesian_gplvm_latent_3d.pdf new file mode 100644 index 00000000..c36b8b35 Binary files /dev/null and b/GPy/testing/baseline/bayesian_gplvm_latent_3d.pdf differ diff --git a/GPy/testing/baseline/bayesian_gplvm_latent_3d.png b/GPy/testing/baseline/bayesian_gplvm_latent_3d.png deleted file mode 100644 index 8af8d83a..00000000 Binary files a/GPy/testing/baseline/bayesian_gplvm_latent_3d.png and /dev/null differ diff --git a/GPy/testing/baseline/bayesian_gplvm_magnification.pdf b/GPy/testing/baseline/bayesian_gplvm_magnification.pdf new file mode 100644 index 00000000..a562600c Binary files /dev/null and b/GPy/testing/baseline/bayesian_gplvm_magnification.pdf differ diff --git a/GPy/testing/baseline/bayesian_gplvm_magnification.png b/GPy/testing/baseline/bayesian_gplvm_magnification.png deleted file mode 100644 index 4aa48998..00000000 Binary files a/GPy/testing/baseline/bayesian_gplvm_magnification.png and /dev/null differ diff --git a/GPy/testing/baseline/coverage_3d_plot.pdf b/GPy/testing/baseline/coverage_3d_plot.pdf new file mode 100644 index 00000000..3c29ce03 Binary files /dev/null and b/GPy/testing/baseline/coverage_3d_plot.pdf differ diff --git a/GPy/testing/baseline/coverage_3d_plot.png b/GPy/testing/baseline/coverage_3d_plot.png deleted file mode 100644 index 49c65827..00000000 Binary files a/GPy/testing/baseline/coverage_3d_plot.png and /dev/null differ diff --git a/GPy/testing/baseline/coverage_annotation_interact.pdf b/GPy/testing/baseline/coverage_annotation_interact.pdf new file mode 100644 index 00000000..f7de270d Binary files /dev/null and b/GPy/testing/baseline/coverage_annotation_interact.pdf differ diff --git a/GPy/testing/baseline/coverage_annotation_interact.png b/GPy/testing/baseline/coverage_annotation_interact.png deleted file mode 100644 index 700757c4..00000000 Binary files a/GPy/testing/baseline/coverage_annotation_interact.png and /dev/null differ diff --git a/GPy/testing/baseline/coverage_gradient.pdf b/GPy/testing/baseline/coverage_gradient.pdf new file mode 100644 index 00000000..5cfa3100 Binary files /dev/null and b/GPy/testing/baseline/coverage_gradient.pdf differ diff --git a/GPy/testing/baseline/coverage_gradient.png b/GPy/testing/baseline/coverage_gradient.png deleted file mode 100644 index 9701fc43..00000000 Binary files a/GPy/testing/baseline/coverage_gradient.png and /dev/null differ diff --git a/GPy/testing/baseline/coverage_imshow_interact.pdf b/GPy/testing/baseline/coverage_imshow_interact.pdf new file mode 100644 index 00000000..674e5892 Binary files /dev/null and b/GPy/testing/baseline/coverage_imshow_interact.pdf differ diff --git a/GPy/testing/baseline/coverage_imshow_interact.png b/GPy/testing/baseline/coverage_imshow_interact.png deleted file mode 100644 index 1a8cef75..00000000 Binary files a/GPy/testing/baseline/coverage_imshow_interact.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_2d_data.pdf b/GPy/testing/baseline/gp_2d_data.pdf new file mode 100644 index 00000000..4bfd1a65 Binary files /dev/null and b/GPy/testing/baseline/gp_2d_data.pdf differ diff --git a/GPy/testing/baseline/gp_2d_data.png b/GPy/testing/baseline/gp_2d_data.png deleted file mode 100644 index f4a24823..00000000 Binary files a/GPy/testing/baseline/gp_2d_data.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_2d_in_error.pdf b/GPy/testing/baseline/gp_2d_in_error.pdf new file mode 100644 index 00000000..03fa968e Binary files /dev/null and b/GPy/testing/baseline/gp_2d_in_error.pdf differ diff --git a/GPy/testing/baseline/gp_2d_in_error.png b/GPy/testing/baseline/gp_2d_in_error.png deleted file mode 100644 index 1f18d749..00000000 Binary files a/GPy/testing/baseline/gp_2d_in_error.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_2d_inducing.pdf b/GPy/testing/baseline/gp_2d_inducing.pdf new file mode 100644 index 00000000..44a8c6a7 Binary files /dev/null and b/GPy/testing/baseline/gp_2d_inducing.pdf differ diff --git a/GPy/testing/baseline/gp_2d_inducing.png b/GPy/testing/baseline/gp_2d_inducing.png deleted file mode 100644 index d7350312..00000000 Binary files a/GPy/testing/baseline/gp_2d_inducing.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_2d_mean.pdf b/GPy/testing/baseline/gp_2d_mean.pdf new file mode 100644 index 00000000..7d1be960 Binary files /dev/null and b/GPy/testing/baseline/gp_2d_mean.pdf differ diff --git a/GPy/testing/baseline/gp_2d_mean.png b/GPy/testing/baseline/gp_2d_mean.png deleted file mode 100644 index 4989f9ba..00000000 Binary files a/GPy/testing/baseline/gp_2d_mean.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_3d_data.pdf b/GPy/testing/baseline/gp_3d_data.pdf new file mode 100644 index 00000000..797ab432 Binary files /dev/null and b/GPy/testing/baseline/gp_3d_data.pdf differ diff --git a/GPy/testing/baseline/gp_3d_data.png b/GPy/testing/baseline/gp_3d_data.png deleted file mode 100644 index 15355902..00000000 Binary files a/GPy/testing/baseline/gp_3d_data.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_3d_inducing.pdf b/GPy/testing/baseline/gp_3d_inducing.pdf new file mode 100644 index 00000000..8399e084 Binary files /dev/null and b/GPy/testing/baseline/gp_3d_inducing.pdf differ diff --git a/GPy/testing/baseline/gp_3d_inducing.png b/GPy/testing/baseline/gp_3d_inducing.png deleted file mode 100644 index 4ab12aaf..00000000 Binary files a/GPy/testing/baseline/gp_3d_inducing.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_3d_mean.pdf b/GPy/testing/baseline/gp_3d_mean.pdf new file mode 100644 index 00000000..455f7964 Binary files /dev/null and b/GPy/testing/baseline/gp_3d_mean.pdf differ diff --git a/GPy/testing/baseline/gp_3d_mean.png b/GPy/testing/baseline/gp_3d_mean.png deleted file mode 100644 index b88b4306..00000000 Binary files a/GPy/testing/baseline/gp_3d_mean.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_class_likelihood.pdf b/GPy/testing/baseline/gp_class_likelihood.pdf new file mode 100644 index 00000000..a6b81a69 Binary files /dev/null and b/GPy/testing/baseline/gp_class_likelihood.pdf differ diff --git a/GPy/testing/baseline/gp_class_likelihood.png b/GPy/testing/baseline/gp_class_likelihood.png deleted file mode 100644 index e1c53a70..00000000 Binary files a/GPy/testing/baseline/gp_class_likelihood.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_class_raw.pdf b/GPy/testing/baseline/gp_class_raw.pdf new file mode 100644 index 00000000..50003c01 Binary files /dev/null and b/GPy/testing/baseline/gp_class_raw.pdf differ diff --git a/GPy/testing/baseline/gp_class_raw.png b/GPy/testing/baseline/gp_class_raw.png deleted file mode 100644 index e58a1c96..00000000 Binary files a/GPy/testing/baseline/gp_class_raw.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_class_raw_link.pdf b/GPy/testing/baseline/gp_class_raw_link.pdf new file mode 100644 index 00000000..71031012 Binary files /dev/null and b/GPy/testing/baseline/gp_class_raw_link.pdf differ diff --git a/GPy/testing/baseline/gp_class_raw_link.png b/GPy/testing/baseline/gp_class_raw_link.png deleted file mode 100644 index 8cc4352b..00000000 Binary files a/GPy/testing/baseline/gp_class_raw_link.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_conf.pdf b/GPy/testing/baseline/gp_conf.pdf new file mode 100644 index 00000000..b5ddc5e7 Binary files /dev/null and b/GPy/testing/baseline/gp_conf.pdf differ diff --git a/GPy/testing/baseline/gp_conf.png b/GPy/testing/baseline/gp_conf.png deleted file mode 100644 index e4be0250..00000000 Binary files a/GPy/testing/baseline/gp_conf.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_data.pdf b/GPy/testing/baseline/gp_data.pdf new file mode 100644 index 00000000..6165cc25 Binary files /dev/null and b/GPy/testing/baseline/gp_data.pdf differ diff --git a/GPy/testing/baseline/gp_data.png b/GPy/testing/baseline/gp_data.png deleted file mode 100644 index 5a92a788..00000000 Binary files a/GPy/testing/baseline/gp_data.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_density.pdf b/GPy/testing/baseline/gp_density.pdf new file mode 100644 index 00000000..b7fd9f50 Binary files /dev/null and b/GPy/testing/baseline/gp_density.pdf differ diff --git a/GPy/testing/baseline/gp_density.png b/GPy/testing/baseline/gp_density.png deleted file mode 100644 index 7ec535ac..00000000 Binary files a/GPy/testing/baseline/gp_density.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_in_error.pdf b/GPy/testing/baseline/gp_in_error.pdf new file mode 100644 index 00000000..d6edc3da Binary files /dev/null and b/GPy/testing/baseline/gp_in_error.pdf differ diff --git a/GPy/testing/baseline/gp_in_error.png b/GPy/testing/baseline/gp_in_error.png deleted file mode 100644 index 6d1b73e7..00000000 Binary files a/GPy/testing/baseline/gp_in_error.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_mean.pdf b/GPy/testing/baseline/gp_mean.pdf new file mode 100644 index 00000000..c19d0fdc Binary files /dev/null and b/GPy/testing/baseline/gp_mean.pdf differ diff --git a/GPy/testing/baseline/gp_mean.png b/GPy/testing/baseline/gp_mean.png deleted file mode 100644 index 66af0770..00000000 Binary files a/GPy/testing/baseline/gp_mean.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_out_error.pdf b/GPy/testing/baseline/gp_out_error.pdf new file mode 100644 index 00000000..98fd9d87 Binary files /dev/null and b/GPy/testing/baseline/gp_out_error.pdf differ diff --git a/GPy/testing/baseline/gp_out_error.png b/GPy/testing/baseline/gp_out_error.png deleted file mode 100644 index 2455246f..00000000 Binary files a/GPy/testing/baseline/gp_out_error.png and /dev/null differ diff --git a/GPy/testing/baseline/gp_samples.pdf b/GPy/testing/baseline/gp_samples.pdf new file mode 100644 index 00000000..155c1a26 Binary files /dev/null and b/GPy/testing/baseline/gp_samples.pdf differ diff --git a/GPy/testing/baseline/gp_samples.png b/GPy/testing/baseline/gp_samples.png deleted file mode 100644 index eb6b79a9..00000000 Binary files a/GPy/testing/baseline/gp_samples.png and /dev/null differ diff --git a/GPy/testing/baseline/gplvm_gradient.pdf b/GPy/testing/baseline/gplvm_gradient.pdf new file mode 100644 index 00000000..12e99491 Binary files /dev/null and b/GPy/testing/baseline/gplvm_gradient.pdf differ diff --git a/GPy/testing/baseline/gplvm_gradient.png b/GPy/testing/baseline/gplvm_gradient.png deleted file mode 100644 index bc4871ac..00000000 Binary files a/GPy/testing/baseline/gplvm_gradient.png and /dev/null differ diff --git a/GPy/testing/baseline/gplvm_latent.pdf b/GPy/testing/baseline/gplvm_latent.pdf new file mode 100644 index 00000000..ba6c4bb9 Binary files /dev/null and b/GPy/testing/baseline/gplvm_latent.pdf differ diff --git a/GPy/testing/baseline/gplvm_latent.png b/GPy/testing/baseline/gplvm_latent.png deleted file mode 100644 index cf1747fb..00000000 Binary files a/GPy/testing/baseline/gplvm_latent.png and /dev/null differ diff --git a/GPy/testing/baseline/gplvm_latent_3d.pdf b/GPy/testing/baseline/gplvm_latent_3d.pdf new file mode 100644 index 00000000..e0b796eb Binary files /dev/null and b/GPy/testing/baseline/gplvm_latent_3d.pdf differ diff --git a/GPy/testing/baseline/gplvm_latent_3d.png b/GPy/testing/baseline/gplvm_latent_3d.png deleted file mode 100644 index 8af8d83a..00000000 Binary files a/GPy/testing/baseline/gplvm_latent_3d.png and /dev/null differ diff --git a/GPy/testing/baseline/gplvm_magnification.pdf b/GPy/testing/baseline/gplvm_magnification.pdf new file mode 100644 index 00000000..11e53381 Binary files /dev/null and b/GPy/testing/baseline/gplvm_magnification.pdf differ diff --git a/GPy/testing/baseline/gplvm_magnification.png b/GPy/testing/baseline/gplvm_magnification.png deleted file mode 100644 index aa1afdf6..00000000 Binary files a/GPy/testing/baseline/gplvm_magnification.png and /dev/null differ diff --git a/GPy/testing/baseline/kern_ARD.pdf b/GPy/testing/baseline/kern_ARD.pdf new file mode 100644 index 00000000..9dcfacc2 Binary files /dev/null and b/GPy/testing/baseline/kern_ARD.pdf differ diff --git a/GPy/testing/baseline/kern_ARD.png b/GPy/testing/baseline/kern_ARD.png deleted file mode 100644 index 32f974fd..00000000 Binary files a/GPy/testing/baseline/kern_ARD.png and /dev/null differ diff --git a/GPy/testing/baseline/kern_cov_1d.pdf b/GPy/testing/baseline/kern_cov_1d.pdf new file mode 100644 index 00000000..f676bfee Binary files /dev/null and b/GPy/testing/baseline/kern_cov_1d.pdf differ diff --git a/GPy/testing/baseline/kern_cov_1d.png b/GPy/testing/baseline/kern_cov_1d.png deleted file mode 100644 index b3d45f60..00000000 Binary files a/GPy/testing/baseline/kern_cov_1d.png and /dev/null differ diff --git a/GPy/testing/baseline/kern_cov_2d.pdf b/GPy/testing/baseline/kern_cov_2d.pdf new file mode 100644 index 00000000..3ab99b6d Binary files /dev/null and b/GPy/testing/baseline/kern_cov_2d.pdf differ diff --git a/GPy/testing/baseline/kern_cov_2d.png b/GPy/testing/baseline/kern_cov_2d.png deleted file mode 100644 index 17291bc3..00000000 Binary files a/GPy/testing/baseline/kern_cov_2d.png and /dev/null differ diff --git a/GPy/testing/baseline/kern_cov_3d.pdf b/GPy/testing/baseline/kern_cov_3d.pdf new file mode 100644 index 00000000..fc0aea29 Binary files /dev/null and b/GPy/testing/baseline/kern_cov_3d.pdf differ diff --git a/GPy/testing/baseline/kern_cov_3d.png b/GPy/testing/baseline/kern_cov_3d.png deleted file mode 100644 index 5ce08dc3..00000000 Binary files a/GPy/testing/baseline/kern_cov_3d.png and /dev/null differ diff --git a/GPy/testing/baseline/kern_cov_no_lim.pdf b/GPy/testing/baseline/kern_cov_no_lim.pdf new file mode 100644 index 00000000..df107db7 Binary files /dev/null and b/GPy/testing/baseline/kern_cov_no_lim.pdf differ diff --git a/GPy/testing/baseline/kern_cov_no_lim.png b/GPy/testing/baseline/kern_cov_no_lim.png deleted file mode 100644 index 0d72ff53..00000000 Binary files a/GPy/testing/baseline/kern_cov_no_lim.png and /dev/null differ diff --git a/GPy/testing/baseline/sparse_gp_class_likelihood.pdf b/GPy/testing/baseline/sparse_gp_class_likelihood.pdf new file mode 100644 index 00000000..89150be3 Binary files /dev/null and b/GPy/testing/baseline/sparse_gp_class_likelihood.pdf differ diff --git a/GPy/testing/baseline/sparse_gp_class_likelihood.png b/GPy/testing/baseline/sparse_gp_class_likelihood.png deleted file mode 100644 index 7e0b11e6..00000000 Binary files a/GPy/testing/baseline/sparse_gp_class_likelihood.png and /dev/null differ diff --git a/GPy/testing/baseline/sparse_gp_class_raw.pdf b/GPy/testing/baseline/sparse_gp_class_raw.pdf new file mode 100644 index 00000000..e177967b Binary files /dev/null and b/GPy/testing/baseline/sparse_gp_class_raw.pdf differ diff --git a/GPy/testing/baseline/sparse_gp_class_raw.png b/GPy/testing/baseline/sparse_gp_class_raw.png deleted file mode 100644 index e0824e57..00000000 Binary files a/GPy/testing/baseline/sparse_gp_class_raw.png and /dev/null differ diff --git a/GPy/testing/baseline/sparse_gp_class_raw_link.pdf b/GPy/testing/baseline/sparse_gp_class_raw_link.pdf new file mode 100644 index 00000000..fc9bc0d3 Binary files /dev/null and b/GPy/testing/baseline/sparse_gp_class_raw_link.pdf differ diff --git a/GPy/testing/baseline/sparse_gp_class_raw_link.png b/GPy/testing/baseline/sparse_gp_class_raw_link.png deleted file mode 100644 index bf4a839c..00000000 Binary files a/GPy/testing/baseline/sparse_gp_class_raw_link.png and /dev/null differ diff --git a/GPy/testing/baseline/sparse_gp_data_error.pdf b/GPy/testing/baseline/sparse_gp_data_error.pdf new file mode 100644 index 00000000..63dca1f7 Binary files /dev/null and b/GPy/testing/baseline/sparse_gp_data_error.pdf differ diff --git a/GPy/testing/baseline/sparse_gp_data_error.png b/GPy/testing/baseline/sparse_gp_data_error.png deleted file mode 100644 index 2695020b..00000000 Binary files a/GPy/testing/baseline/sparse_gp_data_error.png and /dev/null differ diff --git a/GPy/testing/plotting_tests.py b/GPy/testing/plotting_tests.py index 28981f82..7ddbf208 100644 --- a/GPy/testing/plotting_tests.py +++ b/GPy/testing/plotting_tests.py @@ -38,7 +38,7 @@ from nose import SkipTest import matplotlib from unittest.case import TestCase -matplotlib.use('agg') +matplotlib.use('pdf') import numpy as np import GPy, os @@ -66,7 +66,7 @@ try: except ImportError: raise SkipTest("Matplotlib not installed, not testing plots") -extensions = ['png'] +extensions = ['pdf'] def _image_directories(): """