https://github.com/ehsanik/simplecodebase
https://github.com/ehsanik/simplecodebase
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ehsanik/simplecodebase
- Owner: ehsanik
- Created: 2025-04-22T21:49:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-22T21:51:18.000Z (about 1 year ago)
- Last Synced: 2025-04-22T22:38:51.250Z (about 1 year ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Math Plot
This is a minimal Python project that demonstrates how to use NumPy and Matplotlib to generate and display a simple sine wave plot.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/ehsanik/SimpleCodeBase.git
cd SimpleCodeBase
```
2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. Install the required packages:
```bash
pip install -r requirements.txt
```
## Running the Example
Run the script to display a sine wave plot:
```bash
python plot_example.py
```
You should see a pop-up window showing a sine curve from 0 to 10.