Skip to content

Setting agent_portrayal to None #2642

Answered by quaquel
sanika-n asked this question in Q&A
Jan 25, 2025 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This is related to #2638 and #2640.

I need to think about the best way forward to address this. Yes, we can add a bunch of if statements as per #2640. However, I personally am inclined to see this as an architectural problem. At the moment, we don't distinguish carefully between drawing the space (e.g., the grid structure), the drawing of properties of the space (i.e., property layer portrayal), and the drawing of agents within the space. These are effectively all collapsed into a single draw_space method. I am inclined to redesign the API and explicitly separate these three things slightly. If you pass the same axes (in the case of matplotlib), you can draw them on top of each other, but…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Sahil-Chhoker
Comment options

@quaquel
Comment options

Answer selected by sanika-n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants