mesa icon indicating copy to clipboard operation
mesa copied to clipboard

JupyterViz: Allow user to customize plots via Matplotlib's Axes.set API

Open rht opened this issue 2 years ago • 0 comments

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.

rht avatar Sep 10 '23 15:09 rht