Skip to content
Snippets Groups Projects
Commit a786595a authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Fix rendering of SFGs

parent 42f4ce0e
No related branches found
No related tags found
No related merge requests found
Pipeline #87915 passed
...@@ -1259,8 +1259,8 @@ class SFG(AbstractOperation): ...@@ -1259,8 +1259,8 @@ class SFG(AbstractOperation):
dg.node(op.graph_id) dg.node(op.graph_id)
return dg return dg
def _repr_svg_(self): def _repr_mimebundle_(self, include=None, exclude=None):
return self.sfg()._repr_svg_() return self.sfg()._repr_mimebundle_(include=include, exclude=exclude)
def show_sfg(self, format=None, show_id=False, engine=None) -> None: def show_sfg(self, format=None, show_id=False, engine=None) -> None:
""" """
......
...@@ -12,7 +12,7 @@ dependencies = [ ...@@ -12,7 +12,7 @@ dependencies = [
"pybind11>=2.3.0", "pybind11>=2.3.0",
"pyside2", "pyside2",
"qtpy", "qtpy",
"graphviz", "graphviz>=0.19",
"matplotlib", "matplotlib",
] ]
classifiers = [ classifiers = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment