Skip to content

JupyterViz: Easy way to plot multiple measures in 1 figure #1821

@rht

Description

@rht

What's the problem this feature will solve?
Currently, each agent variable can only be plotted in separate figures. The virus on a network example is one such use case where we want to plot everything in one figure. See mesa/mesa-examples#56 (comment).

Describe the solution you'd like

Supporting this could be as simple as detecting if measure in https://github.com/projectmesa/mesa/blob/734496c641d0dcc5d05832d5c530b4badad08e4a/mesa/experimental/jupyter_viz.py#L287 is a list. If so, plot all of them in 1 figure.

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