Skip to content

Commit 1bcb85a

Browse files
committed
remove make_text
1 parent eaf7457 commit 1bcb85a

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

mesa/visualization/solara_viz.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -348,23 +348,6 @@ def change_handler(value, name=name):
348348
raise ValueError(f"{input_type} is not a supported input type")
349349

350350

351-
def make_text(renderer):
352-
"""
353-
Create a function that renders text using Markdown.
354-
355-
Args:
356-
renderer: Function that takes a model and returns a string
357-
358-
Returns:
359-
function: A function that renders the text as Markdown
360-
"""
361-
362-
def function(model):
363-
solara.Markdown(renderer(model))
364-
365-
return function
366-
367-
368351
def make_initial_grid_layout(layout_types):
369352
"""
370353
Create an initial grid layout for visualization components.

0 commit comments

Comments
 (0)