iqm.pulse.playlist.visualisation.base.inspect_playlist

iqm.pulse.playlist.visualisation.base.inspect_playlist#

iqm.pulse.playlist.visualisation.base.inspect_playlist(playlist, segments=(0,))#

Creates an HTML string from the given playlist and segments.

The output can be viewed in a browser or in a Jupyter notebook using IPython.core.display.HTML.

Parameters:
  • playlist (Playlist) – The Playlist to be visualised

  • segments (Sequence[int]) – Indices of the Playlist segments to inspect.

Returns:

The generated raw HTML string.

Return type:

str