HF RL Explorer

Task: Display SVG in IPython/Jupyter Notebook from a Function

Task: Display SVG in IPython/Jupyter Notebook from a Function: a task in Terminal-Lego-15k (Harbor dataset). In IPython/Jupyter notebooks, when you create an SVG object at the end of a cell, it automatically displays due to the notebook's implicit display behavior. However, when you create an SVG…

The task

In IPython/Jupyter notebooks, when you create an `SVG` object at the end of a cell, it automatically displays due to the notebook's implicit display behavior. However, when you create an `SVG` object inside a function, it doesn't display automatically because the return value is not being captured or displayed.

Part of PrimeIntellect/Terminal-Lego-15k.