mercredi 20 octobre 2021

How to translate checked boxes into plots

I hope the title is not too confusing. I have a large Data file with many columns, they all have titles and the data is loaded into pandas, the x-axis should be the date.

Now I want to create an interactive plot with the data, so you can see all the checkboxes and can select, which data should be shown in the plot.

I have found that maybe bokeh is the best way to do it, but I am a bit stuck. I habe already created the checkboxes (checkbox_group), but I dont know how to translate that into a plot.

Obvously I dont want to create around 300 boxes and plots manually, so I am looking for a solution, that takes all the heades and then plots the data from that column if the box is checked.




Aucun commentaire:

Enregistrer un commentaire