Open weinbe58 opened 11 months ago
Need to take a look on this design.
Sometimes you need to share tools between different plot objects (for example sync crosshair
between timeline channels you need to pass the tools around, or sync data between register and pulse channels... etc)
Sometimes you need to share tools between different plot objects (for example sync crosshair between timeline channels you need to pass the tools around, or sync data between register and pulse channels... etc)
I think using a visitor should be ideal for that because you can set it as an attribute of the visitor, then reference it when you need to.
Yeah, we can try to do visitor way and see how it goes.
Currently the Bokeh plots is a bit hard to understand because of the fragmented functions that are used. I think using the visitor framework should help clean this up a bit and make it easier to inject Bokeh as an optional dependency.