Release 0.0.09 with Bokeh standalone and draw array array support
Pre-release
Pre-release
Major change: PWGPP-543, PWGPP-541: bokeh standalone server+ array visualization interface
bokehTools.py::bokehDrawArray
- new syntax PWGPP-543, PWGPP-541-adding marker array and colz option to bokehDrawArray
- see test code RootInteractive/InteractiveDrawing/bokeh/test_bokehDrawArray.py
figureArray = [
[['A'], ['C-A'], {"color": "red", "size": 7, "colorZvar":"C"}],
[['A'], ['C+A', 'C-A']],
[['B'], ['C+B', 'C-B'],{"color": "red", "size": 7, "colorZvar":"C"}],
[['D'], ['sin(D/10)', 'sin(D/20)*0.5', 'sin(D/40)*0.25'], {"size": 10}],
['table']
]
def test_DrawfromArray():
figureLayout: str = '((0,1,2),(3),(4, x_visible=1),commonX=1,x_visible=1,y_visible=0,plot_height=250,plot_width=1000)'
tooltips = [("VarA", "(@A)"), ("VarB", "(@B)"), ("VarC", "(@C)"), ("VarD", "(@D)")]
fig=bokehDraw.fromArray(df, "A>0", figureArray,"slider.A(0,100,0,0,100)",tooltips=tooltips, layout=figureLayout)
bokehDraw.py, bokehTools
- handle created in constructor of bokehDraw (before in bokehTools.drawColzArray)
bokehDrawSA_2.py
- Bug fix - removing double drawing
- make constructor using array interface
- support for colz and "normal 1D drawing
test_bokehDrawSA.py
- test of the bokehDrawSA
- old interface
- array interface
- test_Layout.py, testBokehClient0.py
* removing call of test - to disable multiple call to test in pytest