Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want fix the windspeed range #7

Open
satya0210 opened this issue Jul 2, 2023 · 0 comments
Open

I want fix the windspeed range #7

satya0210 opened this issue Jul 2, 2023 · 0 comments

Comments

@satya0210
Copy link

here is
plot1
plot2
my windrose plots
I want to compare them in different seasons
when I was plotting them the legend which represents wind speed is changing from plot to plot
I want to give a limit to the windspeed range
here is my code

from windrose import WindroseAxes
from matplotlib import pyplot as plt
import matplotlib.cm as cm
from numpy.random import random
from numpy import arange
import pandas as pd
MON=pd.read_csv(r'data.csv')
ws = MON["Ws"].values
wd = MON["Wd"].values
ax = WindroseAxes.from_ax()
ax.set_ylim(0,50)
ax.bar(wd, ws, normed=True, opening=0.8, edgecolor='white')
ax.set_title('plot2')
ax.set_legend()

ax_ylim is not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant