Skip to content

Tracking Issue: Update SpaceRenderer API in All Tutorials #3228

@falloficarus22

Description

@falloficarus22

Issue Summary

Multiple Mesa tutorials are using the deprecated SpaceRenderer API that was updated in PR #3223. This issue tracks the migration of all affected tutorial files to use the new setup_* methods instead of the deprecated draw_* methods and .render() with arguments.

Affected Files

  • docs/tutorials/6_visualization_rendering_with_space_renderer.ipynb

    • Cells: 15, 18
    • Issue: Uses deprecated draw_structure() and draw_agents() methods
    • Impact: This tutorial specifically teaches SpaceRenderer usage, so it's critical to have correct API
  • docs/tutorials/4_visualization_basic.ipynb

    • Cell: 16
    • Issue: Uses deprecated .render(agent_portrayal=agent_portrayal) with arguments
    • Impact: Basic visualization tutorial, affects many new users
  • docs/tutorials/5_visualization_dynamic_agents.ipynb

    • Cell: 14
    • Issue: Uses deprecated .render(agent_portrayal=agent_portrayal) with arguments
    • Impact: Dynamic agents tutorial, affects users learning advanced visualization
  • docs/tutorials/7_visualization_propertylayer_visualization.ipynb

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