You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The visualizations via crystaltoolkit are great. Where is the function that takes a structure as input (along with some kwargs) and returns the plotly Figure? Had some trouble finding it. Maybe I came across it but didn't realize it (e.g. renderables.structure). Interested in the context of janosh/pymatviz#41
The text was updated successfully, but these errors were encountered:
It doesn't return a Plotly Figure, we have our own customer renderer for Structure objects (which is why they look so nice! 😁).
Currently, a get_scene() object is patched onto the relevant object, e.g. Structure.get_scene() when Crystal Toolkit is imported. See #76 for more discussion of this.
Will close this issue but feel free to re-open if there are further questions. Also, if you are interested in Crystal Toolkit development personally, a manuscript has been drafted but not yet submitted, so we are still in a place where we can add people to the development team if there is a specific contribution planned and started -- I left an announcement up in the README.md for this repo if interested.
The visualizations via crystaltoolkit are great. Where is the function that takes a structure as input (along with some kwargs) and returns the plotly Figure? Had some trouble finding it. Maybe I came across it but didn't realize it (e.g. renderables.structure). Interested in the context of janosh/pymatviz#41
The text was updated successfully, but these errors were encountered: