Hello.
I’m facing an unexpected (at least for me) behaviour.
I have a bokeh plot taking it’s data from an AjaxDataSource like this:
AjaxDataSource(data=pdata,
``
data_url='/my_json_url',
polling_interval=refresh_rate,
method='GET',
mode='append')
``
And it works like a charm, a first data set (pdata) is loaded and at each refresh new points come to my plot.
The problem comes when I include a max_size parameter (to avoid my plot becoming too big):
AjaxDataSource(data=pdata,
``
data_url='/my_json_url',
polling_interval=refresh_rate,
method='GET',
mode='append',
max_size=1000)
``
It starts OK, but the first time it reaches max_size, it deletes the first data set as a whole.
Is this somehow the expected behaviour?
Thanks!


