Skip to content

wind rose axis #151

Description

@Umercia

Hi,

It seems that the default directions along the axis circle is not correct anymore. 0° pointing to East
To use the example in the example notebook:

%matplotlib inline
import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
import matplotlib.cm as cm
import numpy as np
from math import pi
from windrose import WindroseAxes

N = 500
ws = np.random.random(N)*6
wd = np.random.random(N)*360
df = pd.DataFrame({"speed": ws, "direction": wd})

ax = WindroseAxes.from_ax()
ax.bar(df.direction, df.speed, normed=True, opening=0.8, edgecolor='white')
ax.set_legend()

2020-12-01_11h05_02

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions