✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Add title xaxis label yaxis label based on user provide

layout = go.Layout(title=None,xaxis=None,yaxis=None,margin=go.Margin(t=15,b=30,l=30,r=0))

I am trying to based on user provide information for example user provides only title and xaxis’s value, how will I pass that value in, it will overwritten whatever the value is instead of None?

Anyone know this? Please help :frowning:

I’m not I understand.

How can a value be stored in None?

I mean pass some new values to title, for example if user does not provide anything title will keep as None,if user does provide something like hi, so the titile will be title=hi instead of title=None

mean pass some new values to title, for example if user does not provide anything title will keep as None,if user does provide something like hi, so the titile will be title=hi instead of title=None