weldx.asdf.utils.notebook_fileprinter

weldx.asdf.utils.notebook_fileprinter(file, style='YAML')

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

Parameters
  • file – filename or BytesIO buffer

  • style – Syntax style to use