Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions mesa/visualization/solara_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def Card(
style_=f"background-color: {color}; width: 100%; height: 100%"
) as main:
if "Space" in layout_type:
rv.CardTitle(children=["Space"])
if space_drawer == "default":
# draw with the default implementation
components_matplotlib.SpaceMatplotlib(
Expand All @@ -72,7 +71,6 @@ def Card(
# if specified, draw agent space with an alternate renderer
space_drawer(model, agent_portrayal, dependencies=dependencies)
elif "Measure" in layout_type:
rv.CardTitle(children=["Measure"])
measure = measures[layout_type["Measure"]]
if callable(measure):
# Is a custom object
Expand Down