mesa
mesa copied to clipboard
JupyterViz: Allow user to customize plots via Matplotlib's Axes.set API
What's the problem this feature will solve? Plot customization via https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.set.html.
Describe the solution you'd like
As an example, users could specify plot title within the model's fixed parameters {"xlabel": year, "title": "Price timeseries"}, and the plotter could do
ax.set(**user_configs)
Not sure if this is necessary, because currently, users could just draw Matplotlib plots by themselves if they need customization.
See also https://github.com/projectmesa/mesa-viz-tornado/issues/23.