This is a Python GUI application that lets users plot mathematical function of x. Automated testing and input validation ensures the user input is correct. The GUI is built using PySide2 and the plots are generated using Matplotlib.
Currently supports these operators + - / * ^ log10() sqrt() and is immune to command injection.
- Python < 3.11
- PySide2
- matplotlib
- numpy
- pytest-qt
- Clone the repo:
git clone https://github.com/gimmeursocks/gui-function-plotter.git
cd gui-function-plotter
- Install dependencies:
pip install PySide2 matplotlib numpy
- Run program:
python app.py
- Enter the formula, min & max and press Enter or click Start
- Install testing dependencies:
pip install pytest pytest-qt
- Run the tests:
pytest











