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:

%matplotlibinlineimportpandasaspdimportnumpyasnpfrommatplotlibimportpyplotaspltimportmatplotlib.cmascmimportnumpyasnpfrommathimportpifromwindroseimportWindroseAxesN=500ws=np.random.random(N)*6wd=np.random.random(N)*360df=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

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