diff --git a/Test0.tiff b/Test0.tiff index 3385c7f0a95554f4205d4edfe02099a1bbe3eb47..bb55ccd503273382421ec13bcd89645ffde0e6d5 100644 Binary files a/Test0.tiff and b/Test0.tiff differ diff --git a/Test1.tiff b/Test1.tiff index 74b791d13d8b4ff71135217de03e30dc8a47edac..6e94811e2cf1deb5e765bfa2ec0215e08742db2e 100644 Binary files a/Test1.tiff and b/Test1.tiff differ diff --git a/example.py b/example.py index 21fb971eeb5867c2496ef95f4196b7aeae87fd5c..33a3c4763f4593ebff829d778f226fd40d660376 100644 --- a/example.py +++ b/example.py @@ -66,5 +66,5 @@ for i, figure in enumerate(figs): figure.savefig(name) # %% Publish -publish('fcn_help', '/home/chief/Dokumente/fst/plotid_python/data', - '/home/chief/Dokumente/fst/plotid_python/Test1.tiff', 'individual') +#publish('fcn_help', '/home/chief/Dokumente/fst/plotid_python/data', + # '/home/chief/Dokumente/fst/plotid_python/Test1.tiff', 'individual') diff --git a/tests/test_TagPlot.py b/tests/test_TagPlot.py index a8fc72b6283e3e524e51e966f85498150c4accf7..5ab3991eb854a7bbd91481b64c64f2f5811fc8d3 100644 --- a/tests/test_TagPlot.py +++ b/tests/test_TagPlot.py @@ -42,31 +42,31 @@ class TestTagPlot(unittest.TestCase): with self.assertRaises(TypeError): TagPlot('fig', ProjectID, plot_engine, method) with self.assertRaises(TypeError): - TagPlot(figs=fig1, prefix=ProjectID, engine=plot_engine) + TagPlot(fig1, plot_engine, prefix=ProjectID) def test_prefix(self): with self.assertRaises(TypeError): - TagPlot(fig, 3, plot_engine, method) + TagPlot(fig, plot_engine, 3, method) def test_plotengine(self): with self.assertRaises(ValueError): - TagPlot(fig, ProjectID, 1, method) + TagPlot(fig, 1, ProjectID, method) with self.assertRaises(ValueError): - TagPlot(fig, ProjectID, 'xyz', method) + TagPlot(fig, 'xyz', ProjectID, method) def test_idmethod(self): with self.assertRaises(TypeError): - TagPlot(fig, ProjectID, plot_engine, method='(0,1)') + TagPlot(fig, plot_engine, ProjectID, method='(0,1)') with self.assertRaises(TypeError): - TagPlot(fig, ProjectID, plot_engine, method='h') + TagPlot(fig, plot_engine, ProjectID, method='h') with self.assertRaises(TypeError): - TagPlot(fig, ProjectID, plot_engine, method='[0,1]') + TagPlot(fig, plot_engine, ProjectID, method='[0,1]') def test_location(self): with self.assertRaises(TypeError): - TagPlot(fig, ProjectID, plot_engine, method, location=1) + TagPlot(fig, plot_engine, ProjectID, method, location=1) with self.assertWarns(Warning): - TagPlot(fig, ProjectID, plot_engine, method, location='up') + TagPlot(fig, plot_engine, ProjectID, method, location='up') if __name__ == '__main__':