Skip to content

Commit

Permalink
Update test data
Browse files Browse the repository at this point in the history
  • Loading branch information
kavanase committed Sep 3, 2024
1 parent 1747905 commit 89a9ef5
Show file tree
Hide file tree
Showing 20 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doped/utils/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@ def get_colormap(colormap: Optional[Union[str, Colormap]] = None, default: str =
f"(https://matplotlib.org/stable/users/explain/colors/colormaps) colormaps. "
f"Defaulting to '{default}' colormap."
)
cmap = cmc.cmaps.get(default, colormaps.get(default, cmc.batlow))
cmap = cmc.cmaps.get(default, colormaps.get(default, cmc.batlow))

return cmap
colormap = cmap

return colormap


def _get_TLD_plot_setup(colormap, xy):
Expand Down Expand Up @@ -667,8 +669,7 @@ def _get_defect_name(defect_entry_name, site_info):
legend_txt = [
(
site_info_name
if legend_txt.count(non_site_info_name) > 1
and site_info_entry_names.count(site_info_name) == 1
if site_info_entry_names.count(site_info_name) < legend_txt.count(non_site_info_name)
else non_site_info_name
)
for site_info_name, non_site_info_name in zip(site_info_entry_names, legend_txt)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/CdTe_duplicate_entry_names.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/CdTe_example_defects_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/CdTe_manual_Te_rich_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/Sb2O5_default_TLD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/Sb2O5_merged_dist_tol_TLD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/YTOS_example_defects_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/neutral_v_O_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/neutral_v_O_plot_all_entries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/remote_baseline_plots/neutral_v_O_plot_faded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 89a9ef5

Please sign in to comment.