Skip to content

wind_rose

AeroViz.plot.meteorology.wind_rose

Attributes

__all__ module-attribute

__all__ = ['wind_rose']

Classes

Color

Unit

Functions
load_jsonfile classmethod
load_jsonfile()

讀取 JSON 檔中數據并將其變成屬性

update_jsonfile classmethod
update_jsonfile(key, value)

更新JSON檔

del_jsonfile classmethod
del_jsonfile(key)

更新JSON檔

Functions

set_figure

set_figure(func=None, *, figsize: tuple | None = None, fs: int | None = None, fw: str = None, autolayout: bool = True)

combine_legends

combine_legends(axes_list: list[Axes]) -> tuple[list, list]

auto_label_pct

auto_label_pct(pct, symbol: bool = True, include_pct: bool = False, ignore: Literal['inner', 'outer'] = 'inner', value: float = 2)

linear_regression_base

linear_regression_base(x_array: ndarray, y_array: ndarray, columns: str | list[str] | None = None, positive: bool = True, fit_intercept: bool = True)

wind_rose

wind_rose(df: DataFrame, WS: Series | str, WD: Series | str, val: Series | str | None = None, typ: Literal['bar', 'scatter'] = 'scatter', rlabel_pos: float = 30, **kwargs) -> tuple[Figure, Axes]