weldx.asdf.util.notebook_fileprinter

weldx.asdf.util.notebook_fileprinter(file, lexer='YAML')

Print the code from file/BytesIO to notebook cell with syntax highlighting.

Parameters