Modified Chart Module in order to add dinamically named properties.
i.e borderWidth and pointRadius
schelling_chart = ChartModule([{"label": "happy", "borderColor": "Black", "borderWidth": "3", "pointRadius": "0"}], data_collector_name="datacollector")
Before this it was only possible to modifiy label and borderColor for each serie.
Coverage remained the same at 77.062% when pulling 980c8ed5f5e0100024f52d125aaf7d93ce6ce2f8 on gotkaren:enhanced_chart_module into dbe40d03f8b405a6007077a6c2b44faf63c0f947 on projectmesa:master.
Coverage remained the same at 77.062% when pulling 980c8ed5f5e0100024f52d125aaf7d93ce6ce2f8 on gotkaren:enhanced_chart_module into dbe40d03f8b405a6007077a6c2b44faf63c0f947 on projectmesa:master.
From a quick glance this looks good, but I guess it breaks the examples!? Can you check and/or update them?
Sure! I'm happy to update them. I'll go back to this pull request after I submit my dissertation (I'm using mesa!). May have more ideas to improve mesa.
Superseded by #1685.