Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcia-marques committed Aug 4, 2021
1 parent 2b15e6d commit 3cfb1a3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
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)

0 comments on commit 3cfb1a3

Please sign in to comment.