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
  • file – filename or BytesIO buffer of ASDF file

  • lexer – Syntax style to use