foxes.output.RosePlotOutput.write_figure(file_name, sectors, var, var_bins, ret_data=False, **kwargs)[source]

Write rose plot to file

Parameters

file_name: str

Path to the output file

sectors: int

The number of wind direction sectors

var: str

The data variable name

var_bins: list of float

The variable bin seperation values

ret_data: bool

Flag for returning wind rose data

kwargs: dict, optional

Additional parameters for get_figure()

Returns

data: pd.DataFrame, optional

The wind rose data