Skip to content

Commit 6023eff

Browse files
committed
[ModelicaSystem.plot] add comment why limited to OMCProcessLocal
1 parent 63475c7 commit 6023eff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,8 @@ def plot(
11471147
resultfile: Optional[str | os.PathLike] = None,
11481148
) -> None:
11491149
"""
1150-
Plot a variable using OMC; this will work for local OMC usage only (OMCProcessLocal).
1150+
Plot a variable using OMC; this will work for local OMC usage only (OMCProcessLocal). The reason is that the
1151+
plot is created by OMC which needs access to the local display. This is not the case for docker and WSL.
11511152
"""
11521153

11531154
if not isinstance(self._getconn.omc_process, OMCProcessLocal):

0 commit comments

Comments
 (0)