-
Notifications
You must be signed in to change notification settings - Fork 25
Remove text background and fix z-order in structure_viz
#139
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
Conversation
@janosh Please review this at your convenience. Thanks! I added Noticed a weird behaviorThe oxidation states like |
nice work! 👍 definite improvement
maybe we can make it an option whether element symbols should be occluded, e.g. |
Wonderful. Z order is exactly what we need. And we need to define the |
All done. Please review @janosh. Thanks! I decide to make this the default (and only) behavior, because I assume there is no good reason for objects in the foreground not to occlude those at the background. Update: Introduced a breaking change- remove |
structure_viz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this file needs regenerating. the oxidation states are gone
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I didn't notice this, yes as I mentioned here #139 (comment), the fetching behavior of oxidation states still inconsistent for some reason.
981297e
to
8a4a32c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @DanielYang59! 👍
* make background transparent * update MP API entrance * update structure by mp_id * update matbench structure * add mp_api to data-src dep * update matbench fig * tweak comments * add zorder * fix zorder for cell and make occlude default * update figures * fix occlusion order * update figures * drop bbox completely * breaking: remove `site_labels_bbox` * remove `site_labels_bbox` from unit test * move ExperimentalWarning to pymatviz/utils.py * restore oxi states in matbench-phonons-structures-2d.svg --------- Co-authored-by: Janosh Riebesell <[email protected]>
Summary
site_labels_bbox
argumentMPRester
withmp_api
API in_generate_assets.py
Before:
After: