https://github.com/ahmedelgarnousy/master-micro_task
https://github.com/ahmedelgarnousy/master-micro_task
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmedelgarnousy/master-micro_task
- Owner: AhmedElgarnousy
- Created: 2023-07-10T17:37:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-18T03:09:38.000Z (about 2 years ago)
- Last Synced: 2023-07-18T10:27:45.714Z (about 2 years ago)
- Language: Python
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Function Plotter
###### Python GUI program that plots an arbitrary user-entered function
###### Take a function of x from the user, e.g., 5*x^3 + 2*x. 3. Take min and max values of x from the user. supported with the following operators : + - / * ^. Display messages to the user to explain any wrong input. using Pyside2 and Matplotlib.
## Automated Tests
###### automated tests for the program using pytest and pytest-qt. end-to-end testing for some of the program main features.
### snapshots of working and wrong examples
in the snapshots directory
## Dependencies
```shell
pip install PySide2
pip install matplotlib
pip install pytest
pip install pytest-qt
pip install numpy
pip install sys
```## Usage
* Run [main.py](main.py) file.
```python
python main.py
```#### References
[https://www.pythonguis.com/tutorials/pyside-signals-slots-events/]