Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MonitorAgent instances seem to share either their buffer or the parameter buffer_size #224

Open
BjoernLudwigPTB opened this issue Apr 30, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@BjoernLudwigPTB
Copy link
Member

BjoernLudwigPTB commented Apr 30, 2021

I prepared a branch show_buffering_bug to show, how I come to this conclusion. I included a second monitor agent with a different buffer_size into the basic_buffering tutorial. When running this example both monitor agents' outputs are using the shorter of the two buffer_sizes. I am not sure if they actually share their buffer or if they share the buffer_size attribute.

I would expect, that if I instantiate several monitor agents with differing buffer_sizes, that their plots are using their respective values.

@bangxiangyong Could you take a look at that?

@BjoernLudwigPTB BjoernLudwigPTB added the bug Something isn't working label Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant