Commit 35e8b4f
[ModelicaSystem] add plot() function (OpenModelica#352)
* [ModelicaSystem] add plot() function; see OpenModelica#144
* [ModelicaSystem] update plot() function - include checks
* check if OMCProcessLocal is used
* check for available resultfile
* [ModelicaSystem] fix mypy - plot_result_file could be None
* [ModelicaSystem.plot] add missing raise for exceptions
* [ModelicaSystem.plot] fix elif usage
* [ModelicaSystem] replace pathlib by OMCPath
* [ModelicaSystem.plot] add comment why limited to OMCProcessLocal
---------
Co-authored-by: Adeel Asghar <adeel.asghar@liu.se>1 parent 675a2ad commit 35e8b4f
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1104 | 1104 | | |
1105 | 1105 | | |
1106 | 1106 | | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1107 | 1135 | | |
1108 | 1136 | | |
1109 | 1137 | | |
| |||
0 commit comments