-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b15e6d
commit 3cfb1a3
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
# wind-rose | ||
|
||
Python library to plot wind roses. | ||
|
||
## Installation | ||
|
||
You can install directly from this repository: | ||
|
||
``` | ||
pip install git+https://github.com/marcia-marques/wind-rose.git | ||
``` | ||
|
||
## Example of use | ||
|
||
```python | ||
import windroses.windroses as wr | ||
import matplotlib.pyplot as plt | ||
import seaborn as sns | ||
import pandas as pd | ||
|
||
df = pd.read_csv('data.txt') | ||
|
||
plt.figure(figsize=(9,9)) | ||
sns.set_style('darkgrid') | ||
wr.wind_rose(df, 'wd', yaxis=67.5) | ||
``` | ||
![image](https://user-images.githubusercontent.com/75334161/128109752-82a96fd0-0380-42c8-8542-c301ba34e4a5.png) |