- Project's Title
- Project Description
- Running the Project
- Running the Tests
- Working and Wrong Examples
- Tools
- "Function Plotter"
- Take a function of x from the user, e.g., 5x^3 + 2x.
- Take min and max values of x from the user.
- The supported operators : + - / * ^.
- Then plots an arbitrary user-entered function through Python GUI.
- when the user enters the wrong input, display messages to explain any wrong input.
To run this project, you'll need to have the following libraries installed:
- Pyside2
- Matplotlib
- pytest
- pytest-qt
You can install these libraries using pip. First, make sure that pip is installed on your system. Then, run the following commands:
pip install pyside2
pip install matplotlib
pip install pytest
pip install pytest-qt
Once you have installed these libraries, you can run the project by running the main.py file.
python main.py
To run the tests for this project, navigate to the project directory in your terminal and run the following command:
pytest
- Python
- pyside2
- pytest