hi,
I am fairly new to Bokeh and like the ohlc chart in
I can view it bokeh serve --show filename.py
and displays correctly on localhost on the browser.
To be of practical use, I need to be able to write it to a html file.
I appended at the very end
curdoc().add_root(column(row(mean, stddev, mavg), gridplot([[p], [p2]], toolbar_location=“left”, plot_width=1000)))
curdoc().add_periodic_callback(update, 50)
curdoc().title = “OHLC”
output_file(“ohlc.html”, title=‘Bokeh Plot’)
show(p) # open a browser
but that give the warnings on ipython
W-1005 (SNAPPED_TOOLBAR_ANNOTATIONS): Snapped toolbars and annotations on the same side MAY overlap visually: Figure(id=‘f15802fe-2e71-4aef-b723-395ec45b4561’, …)
W-1005 (SNAPPED_TOOLBAR_ANNOTATIONS): Snapped toolbars and annotations on the same side MAY overlap visually: Figure(id=‘88eb5180-7a62-448c-b882-837f030a8e53’, …)
W-1005 (SNAPPED_TOOLBAR_ANNOTATIONS): Snapped toolbars and annotations on the same side MAY overlap visually: Figure(id=‘3e15395f-c45e-4b08-80ce-0506fd6b9133’, …)
W-1005 (SNAPPED_TOOLBAR_ANNOTATIONS): Snapped toolbars and annotations on the same side MAY overlap visually: Figure(id=‘eac46c35-e790-4998-a1e0-16d4afeef9ee’, …)
W-1005 (SNAPPED_TOOLBAR_ANNOTATIONS): Snapped toolbars and annotations on the same side MAY overlap visually: Figure(id=‘288e94bf-a9cb-410f-9b4d-ea01f2da5f26’, …)
While I seem to understand the warning, I am not able to figure as how to fix it. Any help appreciated.
Thank you.