Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Oct 7, 2020
Embed
What would you like to do?
def annot(xcrd, zcrd, txt, xancr='center'):
strng=dict(showarrow=False, x=xcrd,
y=0, z=zcrd, text=txt,
xanchor=xancr, font=dict(color='white',size=12))
return strng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment