OVERVIEW
I have a bokeh server application with a fairly complex layout, which works properly in bokeh 2.0.2.
I have reviewed the release notes for bokeh 2.1.0 and 2.1.1 to try to understand if there are any significant changes to how model layouts as grids, columns, rows, etc. have changed but haven’t found anything that stands out. Are there any intentional changes to highlight in this area? (It will take me a while to pare down my code to create a minimal reproducible example, which I will pursue in parallel.)
DETAILS 2.0.2: The following screen capture is an excerpt of the UI area that is relevant to this topic, generated with bokeh 2.0.2. This shows a working setup.
2.1.0: I recently upgraded bokeh to 2.1.0, and the previously working code fails, with the last line of the stack trace as follows. The parts of the UI that precede the accuracy plots still render and work, but the overall and per-class accuracy regions do not render.
/opt/anaconda3/envs/rrvv/lib/python3.7/site-packages/bokeh/core/property/bases.py", line 463, in from_json
raise DeserializationError("%s expected %s, got %s of type %s" % (self, expected, json, type(json).__name__))
bokeh.core.property.bases.DeserializationError: Enum('left', 'right', 'center') expected str, got {'value': 'center'} of type dict
2.1.1: Upon upgrading to 2.1.1, the deserialization errors are resolved. However, the overall and per-class accuracy parts of my UI still no longer render. There are no reported errors in the server console. However, the browser’s console does show errors. See following screen capture.
Nothing intentional, so a GitHub issue would be appropriate. But not we would absolutely need some kind of complete, minimal reproducer to be able to investigate.