Checklist
What is the idea?
In order to disambiguate debugging output and rendering to the page, we want to add a new display function that can be called explicitly whenever the user wants to render things on the page. See more details at #622
Why is this needed
Se #622
What should happen?
We will introduce a new method display that can be used to display objects and other things on the page.
Here's the proposed method:
def display(*objects, parent=None):
"""Display `objects` on parent.
All non-keyword arguments are converted using the global renderer mapper or using the object `__repr__` if a renderer for that object is not present.
If `parent` is None, the parent object set at the global `py-script` tag level will be used.
"""
Additional Context
No response
Checklist
type-featuretag)What is the idea?
In order to disambiguate debugging output and rendering to the page, we want to add a new
displayfunction that can be called explicitly whenever the user wants to render things on the page. See more details at #622Why is this needed
Se #622
What should happen?
We will introduce a new method
displaythat can be used to display objects and other things on the page.Here's the proposed method:
Additional Context
No response