Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak density plotting function #175

Merged
merged 3 commits into from
Oct 24, 2023
Merged

Tweak density plotting function #175

merged 3 commits into from
Oct 24, 2023

Conversation

AstyLavrinenko
Copy link
Contributor

@AstyLavrinenko AstyLavrinenko commented Oct 20, 2023

#160
Fix the lattice mismatch between Volume and Structure, change Structure to optional argument, create structure coords using Volume, make equal sites same color

Fix the lattice mismatch between Volume and Structure, change Structure to optional argument, create structure coords using Volume
Copy link
Contributor

@stefsmeets stefsmeets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good! I made a few small changes to the code.

I think it is best if we avoid mixing structure/volume lattices inside this function. I think it breaks any 'normal' usage of this plotting function. It's better to make this manipulation outside expicitly, not to have any surprises when the lattices are very different.

@stefsmeets stefsmeets changed the title Update _density.py Tweak density plotting function Oct 24, 2023
@stefsmeets stefsmeets merged commit a27a034 into main Oct 24, 2023
3 checks passed
@stefsmeets stefsmeets deleted the plot_volume branch October 24, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants