Subclassing Advice

I’ve been hacking on a tabbed app where I’d like to subclass bokeh.models.widgets.panels.Panels to move the layout and panel composition into the subclasses. I haven’t had much success and I was wondering if there was any guidance to successfully subclass widgets?

I’ve attached an example of what I would like to accomplish vs what is working :slight_smile: I’m hoping that I’m just Doing It Wrong™ and someone will be able to direct me in a more profitable direction.

Best,
Erik

Plots.py (2.28 KB)