-
Is there a way to add labels to atoms using sisl.viz? I would like to be able to annotate structures with text, if possible. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
pfebrer
Aug 30, 2024
Replies: 1 comment 3 replies
-
@pfebrer have you seen this? What's the best way to do that? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! I hadn't seen it. There is no way currently. I had thought of adding a
annotation
key toatoms_style
, but I never did.I think it would be a good addition (and also for
bonds_style
), but unfortunately I'm now writing my thesis on a really tight schedule and I have no time to do anything.@wladerer are you using the plotly backend? Then probably the best you can do is to update the atoms trace with an extra
text
attribute. If you don't know how to do it let me know and I'll prepare a quick code snippet :)