Rewriting old project "Graphic method for solving linear programming problems" on Python with PyQt5 and PyQtGraph