Ewout ter Hoeven

Results 223 comments of Ewout ter Hoeven

Thanks for the examples @etimberg and @mortalapeman! I think a native histogram feature would be a great addition to Chart.js.

pyupgrade should be able to do that [automatically](https://github.com/asottile/pyupgrade#pep-604-typing-rewrites) (by running `pyupgrade --py310-plus`).

Yes, I strongly agree this should be implemented. Thanks for reporting! On my personal list is first finishing the big project of implementing different agent types in Mesa (called [breeds](http://ccl.northwestern.edu/netlogo/docs/dict/breed.html)...

That looks awesome! I would love to see the source code, it might even be useful for the Example library: https://github.com/projectmesa/mesa/tree/main/examples

@tpike3 Do you have time to review this PR? @rht Any more comments?

> * `self.agent_name_index` is redundant with `self.agent_reporters`. Good catch, can't believe I missed that. I found it already weird that there wasn't such a dictionary, but there was. I fixed...

Looked a bit more into it. They are indeed identical, but currently `model_vars` is used for model reporter variables, and `agent_attr_index` for agent reporter variables. I think it's better to...

Thanks for your comment, I now understand your issue. The current architecture is as follow: 1. DataCollector collects a variable from all agents each timestep, keeping all values. 2. The...

If you'd like, I could build a GitHub Actions workflow that automatically pushed to PyPi when tagging a release. It's quite simple nowadays! - [Publishing package distribution releases using GitHub...

@SedarOlmez94 Thanks for filing an issue. Can you share a ZIP with your code, including the `HistogramModule.js`? I just tested my version of the tutorial on the latest Mesa version...