You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the block is run, the last value is inspected with Base.Multimedia.showable for a list of predefined MIME types (eg svg, png).
If one of them returns true, the corresponding value from show is captured into a file, which is assigned a unique name (eg in a subdirectory dedicated for this purpose, a hash or an integer counter).
The image is included in the output.
The text was updated successfully, but these errors were encountered:
Currently, the manual suggests something not unlike
I think we should update the docs here. I feel that show methods are preferred (although the explicit inclusion can also be useful when the show method can't be used for one reason or another).
This is a feature request. I am wondering if it would be possible to just render plots when they are the last value in
@example
blocks (& similar).Currently, the manual suggests something not unlike
What I am proposing is the following:
When the block is run, the last value is inspected with
Base.Multimedia.showable
for a list of predefined MIME types (eg svg, png).If one of them returns true, the corresponding value from
show
is captured into a file, which is assigned a unique name (eg in a subdirectory dedicated for this purpose, a hash or an integer counter).The image is included in the output.
The text was updated successfully, but these errors were encountered: