Skip to content

Commit

Permalink
change branch behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
tcpekin authored Feb 3, 2025
1 parent f260337 commit 4e7d000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py4DSTEM/process/diffraction/crystal_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def plot_structure(

# atoms
ID_all = np.unique(ID)
if occ is None:
if np.all(np.asarray(occ) == 1):
for ID_plot in ID_all:
sub = ID == ID_plot
ax.scatter(
Expand Down

0 comments on commit 4e7d000

Please sign in to comment.