Display more information on mouse hover on agent in the web app #2080
Replies: 1 comment 1 reply
-
Hi, if you're using the mesa visualization server to run the simulation, if you want to see information on hover, you have to set the "text" element on the agent_portrayal function(e.g):
But take care that the mesa visualization server is no more actively developed.
The chart will show a tooltip of every property except for "size", "color", "x" and "y".
If you set the parameter "space_drawer='altair'", the chart will be rendered using altair.py. |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm currently making a SIR model with some virus mutation. In the web app, I would like to visualize virus parameters on hovering an agent but don't know how I can do that?
Thanks in advance, any help is welcome.
Beta Was this translation helpful? Give feedback.
All reactions