paulvangentcom / python_corona_simulation

An agent-based simulation of corona and other viruses in python
GNU General Public License v3.0
292 stars 76 forks source link

Added plot beautification, and abstracted some common settings #4

Closed chorsnell closed 4 years ago

chorsnell commented 4 years ago

Utilised matplotlib custom styles (https://matplotlib.org/tutorials/introductory/customizing.html) to make simulation easier to see, with better contrasting colors.

Moved some of the common settings in initialising and updating graphs into functions so it can be set consistently across simulations.

paulvangentcom commented 4 years ago

Great ideas, thanks. Wrapping up a refactor and integrating your work afterwards.