From b77a5d70959d7c96afeb12cfae3861a60b126fe5 Mon Sep 17 00:00:00 2001 From: Marian Ivanov Date: Sun, 31 Dec 2023 16:41:31 +0100 Subject: [PATCH] Fix for wrong default sizing policy --- RootInteractive/InteractiveDrawing/bokeh/bokehDrawSA.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RootInteractive/InteractiveDrawing/bokeh/bokehDrawSA.py b/RootInteractive/InteractiveDrawing/bokeh/bokehDrawSA.py index e16b3077..ffb6dd3c 100644 --- a/RootInteractive/InteractiveDrawing/bokeh/bokehDrawSA.py +++ b/RootInteractive/InteractiveDrawing/bokeh/bokehDrawSA.py @@ -181,7 +181,7 @@ def fromArray(cls, dataFrame, query, figureArray, widgetsDescription, **kwargs): #self.Widgets = self.initWidgets(widgetString) if isinstance(self.widgetLayout, list) or isinstance(self.widgetLayout, dict): widgetList=processBokehLayoutArray(self.widgetLayout, self.plotArray[nFigures:], self.plotDict) - self.pAll=gridplotRow([self.figure, widgetList], sizing_mode=self.options.get('sizing_mode', 'inherit')) + self.pAll=gridplotRow([self.figure, widgetList], sizing_mode=self.options.get('sizing_mode', 'scale_width')) self.widgetList=widgetList #self.pAll=column([self.figure,widgetList],sizing_mode=self.options['sizing_mode']) self.handle=show(self.pAll,notebook_handle=self.isNotebook)