We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63475c7 commit 6023effCopy full SHA for 6023eff
OMPython/ModelicaSystem.py
@@ -1147,7 +1147,8 @@ def plot(
1147
resultfile: Optional[str | os.PathLike] = None,
1148
) -> None:
1149
"""
1150
- Plot a variable using OMC; this will work for local OMC usage only (OMCProcessLocal).
+ 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.
1152
1153
1154
if not isinstance(self._getconn.omc_process, OMCProcessLocal):
0 commit comments