I have been looking all over the web for help, but to no avail, so now I am trying here.
My goal is to have a bar chart where I can click on a bar which will then interact with a line chart and show line chart data corresponding to that bars category.
I tried to start from a simple example such as the one proposed here: Interactive Graph Click Event by jmmease, but when I run his code-snippet I get the following error: AttributeError: ‘FigureWidget’ object has no attribute ‘on_click’.
I am a little lost in all the documentation and hope that you could help me in the right direction with:
a) How I solve the error
b) How I might achieve my goal of the interactive graphs.
PS. I am working in Jupyter Notebook and need to keep all interactivity there. The notebook will be shared using Voila as a web-application.