scipp.show_graph(graph, size=None, simplified=False)#

Show graphical representation of a graph as required by transform_coords()

Requires the python-graphviz package.

  • graph (dict[str | tuple[str, ...], str | Callable]) – Transformation graph to show.

  • size (Optional[str], default: None) – Size forwarded to graphviz, must be a string, “width,height” or “size”. In the latter case, the same value is used for both width and height.

  • simplified (bool, default: False) – If True, do not show the conversion functions, only the potential input and output coordinates.


graph (graphviz.Digraph) – Can be displayed directly in Jupyter. See the documentation for details.


RuntimeError – If graphviz is not installed.