Skip to content

REL: v0.1.7

Compare
Choose a tag to compare
@andyrids andyrids released this 15 Jan 23:36
· 27 commits to main since this release

[0.1.7] - 2025-01-15

This release has some changes to the function parameters and handling of default text annotations (see documentation). There are also refinements and improvements in the data clock ring and wedge generation logic.

Changed

  • Parameter 'default_text' triggers default chart title and subtitle annotations if chart_title & chart_subtitle are None.
  • Parameter 'chart_period' for optional annotation below subtitle for dataset reporting period.
  • Raises ValueError if data[date_column] Series does not have not a 'datetime64[ns]' dtype.
  • Raises ValueError if data is an empty DataFrame.

Fixed

  • Ring & wedge value generation inefficiencies (~75% improvement).
  • Redundant inner loop for wedge bar creation.
  • Divide by zero error when passed an empty DataFrame.
  • Leap year ring values changed from 53 to 52 in 'YEAR_WEEK' mode.