diff --git a/tests/data/remote_baseline_plots/F_i_-1_disp_anisotropy_plot.png b/tests/data/remote_baseline_plots/F_i_-1_disp_anisotropy_plot.png index 99955d41..cb2c3899 100644 Binary files a/tests/data/remote_baseline_plots/F_i_-1_disp_anisotropy_plot.png and b/tests/data/remote_baseline_plots/F_i_-1_disp_anisotropy_plot.png differ diff --git a/tests/data/remote_baseline_plots/F_i_-1_disp_ellipsoid_plot.png b/tests/data/remote_baseline_plots/F_i_-1_disp_ellipsoid_plot.png index d629f758..38a36398 100644 Binary files a/tests/data/remote_baseline_plots/F_i_-1_disp_ellipsoid_plot.png and b/tests/data/remote_baseline_plots/F_i_-1_disp_ellipsoid_plot.png differ diff --git a/tests/data/remote_baseline_plots/Te_Cd_1_disp_anisotropy_plot.png b/tests/data/remote_baseline_plots/Te_Cd_1_disp_anisotropy_plot.png index 36d513c4..1bba9b08 100644 Binary files a/tests/data/remote_baseline_plots/Te_Cd_1_disp_anisotropy_plot.png and b/tests/data/remote_baseline_plots/Te_Cd_1_disp_anisotropy_plot.png differ diff --git a/tests/data/remote_baseline_plots/Te_Cd_1_disp_ellipsoid_plot.png b/tests/data/remote_baseline_plots/Te_Cd_1_disp_ellipsoid_plot.png index 264fda4a..c4b30034 100644 Binary files a/tests/data/remote_baseline_plots/Te_Cd_1_disp_ellipsoid_plot.png and b/tests/data/remote_baseline_plots/Te_Cd_1_disp_ellipsoid_plot.png differ diff --git a/tests/data/remote_baseline_plots/YTOS_Int_F_-1_site_displacements.png b/tests/data/remote_baseline_plots/YTOS_Int_F_-1_site_displacements.png index aeac91f3..0f34174f 100644 Binary files a/tests/data/remote_baseline_plots/YTOS_Int_F_-1_site_displacements.png and b/tests/data/remote_baseline_plots/YTOS_Int_F_-1_site_displacements.png differ diff --git a/tests/data/remote_baseline_plots/v_Cd_0_disp_anisotropy_plot.png b/tests/data/remote_baseline_plots/v_Cd_0_disp_anisotropy_plot.png index 387c8701..15890ef3 100644 Binary files a/tests/data/remote_baseline_plots/v_Cd_0_disp_anisotropy_plot.png and b/tests/data/remote_baseline_plots/v_Cd_0_disp_anisotropy_plot.png differ diff --git a/tests/data/remote_baseline_plots/v_Cd_0_disp_ellipsoid_plot.png b/tests/data/remote_baseline_plots/v_Cd_0_disp_ellipsoid_plot.png index e9a76741..fb5944f7 100644 Binary files a/tests/data/remote_baseline_plots/v_Cd_0_disp_ellipsoid_plot.png and b/tests/data/remote_baseline_plots/v_Cd_0_disp_ellipsoid_plot.png differ diff --git a/tests/data/remote_baseline_plots/v_Cd_0_disp_plot.png b/tests/data/remote_baseline_plots/v_Cd_0_disp_plot.png index 2c7e2581..36ce328f 100644 Binary files a/tests/data/remote_baseline_plots/v_Cd_0_disp_plot.png and b/tests/data/remote_baseline_plots/v_Cd_0_disp_plot.png differ diff --git a/tests/data/remote_baseline_plots/v_Cd_0_disp_plot_relaxed_dists.png b/tests/data/remote_baseline_plots/v_Cd_0_disp_plot_relaxed_dists.png new file mode 100644 index 00000000..738efe1b Binary files /dev/null and b/tests/data/remote_baseline_plots/v_Cd_0_disp_plot_relaxed_dists.png differ diff --git a/tests/data/remote_baseline_plots/v_Cd_0_disp_proj_plot.png b/tests/data/remote_baseline_plots/v_Cd_0_disp_proj_plot.png index 245b2222..bb0e7981 100644 Binary files a/tests/data/remote_baseline_plots/v_Cd_0_disp_proj_plot.png and b/tests/data/remote_baseline_plots/v_Cd_0_disp_proj_plot.png differ diff --git a/tests/data/remote_baseline_plots/v_Cd_0_disp_proj_plot_relaxed_dists.png b/tests/data/remote_baseline_plots/v_Cd_0_disp_proj_plot_relaxed_dists.png new file mode 100644 index 00000000..d20107b8 Binary files /dev/null and b/tests/data/remote_baseline_plots/v_Cd_0_disp_proj_plot_relaxed_dists.png differ diff --git a/tests/test_displacements.py b/tests/test_displacements.py index de7030e5..88a504a3 100644 --- a/tests/test_displacements.py +++ b/tests/test_displacements.py @@ -260,6 +260,20 @@ def test_plot_site_displacements(self): separated_by_direction=False, use_plotly=False ) + @custom_mpl_image_compare(filename="v_Cd_0_disp_proj_plot_relaxed_dists.png") + def test_plot_site_displacements_proj_relaxed_dists(self): + # Vacancy, displacement separated by direction: + return self.v_Cd_0_defect_entry.plot_site_displacements( + separated_by_direction=True, use_plotly=False, relaxed_distances=True + ) + + @custom_mpl_image_compare(filename="v_Cd_0_disp_plot_relaxed_dists.png") + def test_plot_site_displacements_relaxed_dists(self): + # Vacancy, total displacement + return self.v_Cd_0_defect_entry.plot_site_displacements( + separated_by_direction=False, use_plotly=False, relaxed_distances=True + ) + @custom_mpl_image_compare(filename="YTOS_Int_F_-1_site_displacements.png") def test_plot_site_displacements_ytos(self): # Interstitial, total displacement