I often get warnings that looks like
If I have a complex component there could be a lot of sub-components causing this. How do I identify which?
I often get warnings that looks like
If I have a complex component there could be a lot of sub-components causing this. How do I identify which?
Bokeh documents have a get_model_by_id()
method. See the Bokeh document section of the reference manual.
You could use that to retrieve the offending model identified in the error message. Similarly, if you’re in the habit of naming all of your models, you could leverage that to more easily disambiguate which element is causing the problem when retrieved.
Thanks @_jm.
I did not know the get_model_by_id
.
I have been thinking so many times that I should give all elements a unique and nice name.