mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +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
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue