Thanks Eugene,
This is what I’ve manage to invent. Unfortunately it doesn’t work. Can you please point out what and how should be corrected?
select_biplot = Select(title = 'Select Biplot', value = 'SYM', options = ['SYM', 'COV', 'JK'])
SYM = """SYM Your For this example"""
COV = """COV Your For this example"""
JK = """JK Your For this example"""
div_biplot = Paragraph(text=SYM, width=240, css_classes=['div_biplot'])
menu_biplot = Column(select_biplot, div_biplot, name='menu_biplot', width=250)
def biplot_callback(attrname, old, new):
if select_biplot.value == 'COV':
Paragraph.text=COV
elif select_biplot.value == 'JK':
Paragraph.text=JK
else:
Paragraph.text=SYM
select_biplot.on_change('value', biplot_callback)
curdoc().add_root(menu_biplot)