Aman Bihari

Results comments of Aman Bihari

> I think I have seen this issue before at some point. Is this on main or on 3.5? I checked it, prominent in both.

I went ahead and tried to fix this, there were two separate issues: 1. The Frontend KeyError (@laxmi2577 is spot on): Added quick if check https://github.com/mesa/mesa/blob/71cfd39e0fcf67f0eaa08d342846bfbccdbe7ff0/mesa/visualization/components/matplotlib_components.py#L157-L167 to ```python if isinstance(measure,...

This looks somewhat similar to what we encountered in Network(#3323 and #3345)

This is not how it works, go through `CONTRIBUTING.md`

I like this idea but I have a small concern. Currently, GroupBy is a lightweight wrapper and `__getitem__` and `get()` might somewhere give a feel that it follows Mapping Protocol....

>The main question that then remains is how to handle passing a group key that does not exist. The first instinct is to mirror Pandas default behavior(i.e raising `KeyError`) but...

I think `None` would be better so users can write standard logic to handle it

Does this implementation looks good to you? ```python _MISSING = object() def get_group(self, name, default=_MISSING): if name in self.groups: return self.groups[name] if default is not _MISSING: return default raise KeyError(f"No...

This syntax is undeniably clean. One thing that I keep coming back to is _Errors should never pass silently_ . Suppose if I write `grouped_agents.get_group("infcted").shuffle_do("step")`, there's a small typo in...

I have shared an implementation idea above. Does it makes sense to you? I think it kind of provides both behavior