Skip to content

Adding text based labels for atoms in sisl.viz? #817

Answered by pfebrer
wladerer asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! I hadn't seen it. There is no way currently. I had thought of adding a annotation key to atoms_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 :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pfebrer
Comment options

Answer selected by zerothi
@wladerer
Comment options

@pfebrer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants