aukedejong / lovelace-windrose-card

Home Assistant Lovelace Windrose Card

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i want fix the legend range in rose plot

satya0210 opened this issue · comments

i want fix the range of the lengend

my code is here

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()

the plots different legend please check the plots that i have attached
plot1
plot2

I'm not sure what your question is.
Maybe you posted it on the wrong project?

hi sir
here in 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

Your plots are made with an other library.