Allow changes to columns in bokeh CDS #2666
This PR eliminates a long-standing limitation in updating plots with elements where the dimensions change. Specifically the code that updates a CDS now checks whether the data needs to be replaced completely, which occurs in one of two conditions 1) there is a new column which does not match the length of old columns or 2) there is an old column which is not being updated which does not match the updated columns in length.
Here are some examples of what this allows (note the changes in the axis label and table column header):
Technically we could just always replace the data completely but a) that can be inefficient and b) it breaks
The text was updated successfully, but these errors were encountered: