diff --git a/Share/cdat.png b/Share/cdat.png new file mode 100644 index 000000000..fb46d4400 Binary files /dev/null and b/Share/cdat.png differ diff --git a/setup.py b/setup.py index 8b833036c..280f63720 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ 'Share/data_continent_other7', 'Share/data_continent_fine', 'Share/initial.attributes', - 'Share/uvcdat.png', + 'Share/cdat.png', 'Share/marker_icon.png', 'Share/text_icon.png', 'Share/fill_icon.png', diff --git a/Share/uvcdat.png b/tests/share/uvcdat.png similarity index 100% rename from Share/uvcdat.png rename to tests/share/uvcdat.png diff --git a/tests/test_vcs_custom_logo.py b/tests/test_vcs_custom_logo.py index 057154004..d067a5ac2 100644 --- a/tests/test_vcs_custom_logo.py +++ b/tests/test_vcs_custom_logo.py @@ -17,7 +17,7 @@ def testCustomLogo(self): logo1.y = .2 logo1.plot(self.x, bg=self.bg) - png_pth = os.path.join(sys.prefix, "share", "vcs", "uvcdat.png") + png_pth = os.path.join("tests", "share", "uvcdat.png") print("PNG:", png_pth) logo2 = vcs.utils.Logo(png_pth) logo2.x = .7 diff --git a/vcs/VTKPlots.py b/vcs/VTKPlots.py index c5a22fede..81e0500df 100644 --- a/vcs/VTKPlots.py +++ b/vcs/VTKPlots.py @@ -1375,7 +1375,7 @@ def createLogo(self): sys.prefix, "share", "vcs", - "uvcdat.png") + "cdat.png") reader = vtk.vtkPNGReader() reader.SetFileName(defaultLogoFile) reader.Update() @@ -1383,7 +1383,7 @@ def createLogo(self): self.logoRepresentation = vtk.vtkLogoRepresentation() self.logoRepresentation.SetImage(logo_input) self.logoRepresentation.ProportionalResizeOn() - self.logoRepresentation.SetPosition(0.882, 0.0) + self.logoRepresentation.SetPosition(0.895, 0.0) self.logoRepresentation.SetPosition2(0.10, 0.05) self.logoRepresentation.GetImageProperty().SetOpacity(.8) self.logoRepresentation.GetImageProperty(