windkit.plot.histogram_lines

windkit.plot.histogram_lines(ds, colors='Phase', gap=False)[source]

Create a “distribution” plot and matching frequency wind rose for binned wind climate.

The distribution plot is created by drawing lines across the wind speed bins for each sector.

Parameters:
  • ds (xarray.Dataset) – WindKit Dataset at a single point representing either a binned or weibull wind climate.

  • colors (str, optional) – str defining a valid plotly built-in color scale (preferred cyclical) name By default is defined as “Phase”.

  • gap (bool, optional) – Include or not gap between sectors By default is defined no False.

Returns:

Plotly figure for display, additional modification, or output.

Return type:

plotly.graph_objects.Figure