mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 21:06:23 +02:00
[plotting] testing only pngs because macosx cant convert pdf to png....
This commit is contained in:
parent
69560e654a
commit
05a58bfe87
20 changed files with 1 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ try:
|
|||
except:
|
||||
raise SkipTest("Matplotlib not installed, not testing plots")
|
||||
|
||||
extensions = ['png', 'pdf']
|
||||
extensions = ['png']
|
||||
|
||||
def _image_directories(func):
|
||||
"""
|
||||
|
|
@ -89,7 +89,6 @@ class test_image_comparison(object):
|
|||
fig.axes[0].set_axis_off()
|
||||
fig.set_frameon(False)
|
||||
fig.savefig(os.path.join(self.result_dir, "{}.{}".format(base, ext)), frameon=False)
|
||||
print os.path.join(self.result_dir, "{}.{}".format(base, ext))
|
||||
actual = os.path.join(self.result_dir, "{}.{}".format(base, ext))
|
||||
expected = os.path.join(self.baseline_dir, "{}.{}".format(base, ext))
|
||||
yield compare_images, actual, expected, 1e-3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue