Skip to content

Releases: tpvasconcelos/ridgeplot

0.1.30

18 Oct 13:44
6675dc6
Compare
Choose a tag to compare

Features

  • Add support for named CSS colors (#229)
  • Allow users to define color scales as a collection of colors (Collection[Color]) (#231)
  • Dynamically infer the default colorscale from the active Plotly template (#237)

Documentation

  • Improve the documentation for the colormode parameter (#232)

Internal

  • Refactor _figure_factory.py to use a functional approach (#228)
  • Stop using the term "midpoints" to refer to the "interpolation values" when dealing with continuous color scales (#232)
  • Refactor color validation logic to use helpers provided by Plotly (#233)
  • Drop colors.json and use Plotly's ColorscaleValidator and named_colorscales directly (#234)
  • Refactor color utilities into ridgeplot._color (#235)

0.1.29

16 Oct 15:18
54df718
Compare
Choose a tag to compare

Features

  • Add new "trace-index-row-wise" colormode (#224)

Improvements

  • Remove duplicated labels when plotting multiple traces on the same y-axis row (#223)

Documentation

  • Update and improve the "Contributing" guide (#218 and #221)

Internal

  • Eagerly validate input shapes in RidgeplotFigureFactory (#222)
  • Vendor _zip_equal() from more-itertools (#222)
  • Improve overall test coverage (#222)

Bug fixes

  • Support edge case in get_collection_array_shape where the input array is empty or contains nested empty arrays (#222)

CI/CD

  • Add new "Greet new users" workflow to welcome new contributors to the project (#210)
  • Add concurrency entries to relevant GitHub workflows (#211)
  • Add Dependabot configuration file (#211)
  • Add GitHub issue templates (#211)
  • Add support for Python 3.13 (#217)
  • Add a CodeQL GitHub workflow (#220)

0.1.27

06 Oct 18:30
4660f5f
Compare
Choose a tag to compare

Breaking changes

  • Dropped support for Python 3.8, in accordance with the official Python support policy1. (#204)
  • Removed deprecated function get_all_colorscale_names() in favor of list_all_colorscale_names() (#200)

CI/CD

  • Adopt setuptools-scm for package versioning (#200)
  • Add actionlint pre-commit hook (#201)
  • Improve logic in .github/workflows/check-release-notes.yaml to post comments to the PR (#201)
  • Handle footnotes in the automatically generated release notes (#209)

  1. https://devguide.python.org/versions/

0.1.26

18 Sep 22:19
ce371c7
Compare
Choose a tag to compare

Breaking changes

  • Dropped support for statsmodels==0.14.2 due to import-time issue. See #197 for more details. (#198)

CI/CD

  • Refactor test coverage logic (#193)
  • Replace pip and venv with uv (#189)
  • Move all CI/CD utilities to the cicd_utils/ directory (#186)
  • Publish to PyPi as a Trusted Publisher (#187)
  • Add check-jsonschema pre-commit hooks and define timeout-minutes for all GitHub workflows (#187)

0.1.25

19 Apr 09:14
f5143df
Compare
Choose a tag to compare

This release contains a number of improvements to the docs, API reference, CI/CD logic (incl. official support for Python 3.12), and other minor internal changes.

Documentation

  • Misc documentation improvements (#180)
  • Move changelog to ./docs/reference/changelog.md (#180)

Internals

  • Migrate from setup.cfg from pyproject.toml (#176)
  • Use importlib.resources to load data assets from within the package - to be PEP-302 compliant (#176)
  • Enforce "strict" mypy mode (mostly improved type annotations for generic types) (#177)

CI/CD

  • Add support for Python 3.12 (#182)

0.1.24

20 Feb 13:44
1bf87c1
Compare
Choose a tag to compare

Breaking changes

  • Dropped support for Python 3.7. (#154)

Features

  • Add hoverinfo by default to the Plotly traces. (#174)

Documentation

  • Use the {raw} html :file: _static/charts/<PLOT-ID>.html directive to load the interactive Plotly graphs in the generated Sphinx docs. The generated HTML artefacts only include a <div> wrapper block now and the plotly.min.js is now vendored and automatically loaded via the html_js_files Sphinx config. (#132)
  • Small adjustments to the example plots in the documentation. (#132)
  • Reformat markdown files, removing all line breaks. (#132)

Internals

  • Define a ridgeplot._missing.MISSING sentinel object for internal use (this replaces the multiple module-level _MISSING = object() sentinels). (#154)
  • Add an internal extras/ directory to place helper modules and packages used in different CI tasks. (#154 and #161)

CI/CD

  • Replace isort, flake8, and pyupgrade with ruff. (#131)
  • Add regression tests for the figure artifacts generated by the examples in _ridgeplot_examples. (#154)
  • Remove the Python locked dependency files. (#163)

0.1.23

11 Aug 21:38
562e77b
Compare
Choose a tag to compare
  • Fix the references to the interactive Plotly IFrames
    (#129)

0.1.22

11 Aug 21:17
fc421e2
Compare
Choose a tag to compare

Deprecations

  • The colormode='index' value has been deprecated in favor of colormode='row-index', which
    provides the same functionality but is more explicit and allows to distinguish between the
    'row-index' and 'trace-index' modes.
    (#114)
  • The show_annotations argument has been deprecated in favor of show_yticklabels.
    (#114)
  • The get_all_colorscale_names() function has been deprecated in favor of
    list_all_colorscale_names().
    (#114)

Features

  • Add functionality to allow plotting of multiple traces per row.
    (#114)
  • Add ridgeplot.datasets.load_lincoln_weather() helper function to load the "Lincoln Weather"
    toy dataset. (#114)
  • Add more versions of the probly dataset ("wadefagen" and "illinois").
    (#114)
  • Add support for Python 3.11.

Documentation

  • Major update to the documentation, including more examples, interactive plots, script to
    generate the HTML and WebP images from the example scripts, improved API reference, and more.
    (#114)

Internal

  • Remove mdformat from the automated CI checks. It can still be triggered manually.
    (#114)
  • Improved type annotations and type checking.
    (#114)

0.1.21

27 Jan 20:09
224e1e5
Compare
Choose a tag to compare

Features

  • 🔧 Add ridgeplot.datasets.load_probly() helper function to load the probly toy dataset. The
    probly.csv file is now included in the package under ridgeplot/datasets/data/.
    (#80)

Documentation

  • 📝 Change to numpydoc style docstrings.
    (#81)
  • 📝 Add a robots.txt to the docs site.
    (#81)
  • 📝 Auto-generate a site map for the docs site using sphinx_sitemap.
    (#81)
  • 📝 Change the sphinx theme to furo.
    (#81)
  • 📝 Improve the internal documentation and some of these internals to the API reference.
    (#81)

Internal

  • 🔧 Fixed and improved some type annotations, including the introduction of ridgeplot._types
    module for type aliases such as Numeric and NestedNumericSequence.
    (#80)
  • 🔧 Add the blacken-docs pre-commit hook and add the pep8-naming, flake8-pytest-style,
    flake8-simplify, flake8-implicit-str-concat, flake8-bugbear, flake8-rst-docstrings,
    flake8-rst-docstrings, etc... plugins to the flake8 pre-commit hook.
    (#81)
  • 💅 Cleanup and improve some type annotations.
    (#81)
  • 🔧Update deprecated set-output commands (GitHub Actions)
    (#87)

0.1.20

20 Aug 18:17
d509e5b
Compare
Choose a tag to compare
  • ...