Skip to content

Commit

Permalink
Fixed typos in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
smistad committed Aug 15, 2022
1 parent 074f678 commit 548a02b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion source/FAST/Examples/Python/pyfast_and_pyside2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import platform
if platform.system() != 'Windows':
import PySide2.QtSvg # Must import this before fast due to conflicting symbols
import fast # Important FAST before rest of pyside2
import fast # Must import FAST before rest of pyside2
from PySide2.QtWidgets import *
from shiboken2 import wrapInstance
from random import random
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@
import platform
if platform.system() != 'Windows':
import PySide2.QtSvg # Must import this before fast due to conflicting symbols
import fast # Important FAST before rest of pyside2
import fast # Must import FAST before rest of pyside2
from PySide2.QtWidgets import *
from PySide2.QtOpenGL import QGLWidget
from PySide2.QtCore import Slot
from shiboken2 import wrapInstance
import threading
import sys

#fast.Reporter.setGlobalReportMethod(fast.Reporter.COUT)

Expand Down
2 changes: 1 addition & 1 deletion source/FAST/Examples/Python/real_time_line_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import platform
if platform.system() != 'Windows':
import PySide2.QtSvg # Must import this before fast due to conflicting symbols
import fast # Important FAST before rest of pyside2
import fast # Must import FAST before rest of pyside2
from PySide2.QtWidgets import *
from shiboken2 import wrapInstance
import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
import platform
if platform.system() != 'Windows':
import PySide2.QtSvg # Must import this before fast due to conflicting symbols
import fast # Important FAST before rest of pyside2
import fast # Must import FAST before rest of pyside2
from PySide2.QtWidgets import *
from PySide2.QtCore import Slot
from PySide2.QtCore import Qt
import PySide2.QtSvg # Must import this before fast due to conflicting symMust import this before fast due to conflicting symbols
from shiboken2 import wrapInstance
from random import random

Expand Down

0 comments on commit 548a02b

Please sign in to comment.