Skip to content

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

@rht

Description

@rht

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 mesa/mesa-viz-tornado#23.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions