You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 31, 2024. It is now read-only.
I understand that show() is supposed to return all samples by default (-1), but i encounter strangeness. However, when the actual number of entries are supplied, it seems to be fine.
from time_series_buffer import TimeSeriesBuffer
ts_buffer =TimeSeriesBuffer()
ts_buffer.add([[0,10],[1,11],[2,12]])
ts_buffer.show() #not fine
ts_buffer.show(3) #looks good
The text was updated successfully, but these errors were encountered:
Looking into the code and docstring, it seems like the default of show() is show(n_samples=1). So by default only the latest addition to the buffer will be shown. Does this already explain the encountered behaviour?
Would it be more convenient to show all elements by default? (Currently, the idea is to have matching defaults for show() and pop().
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I understand that show() is supposed to return all samples by default (-1), but i encounter strangeness. However, when the actual number of entries are supplied, it seems to be fine.
The text was updated successfully, but these errors were encountered: