Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

0.2.21 - 2024-10-25

Fixed

  • Re-established support for Python 3.9 GH#69.

0.2.20 - 2024-10-16

Changed

  • Transition to uv.
  • Added more ruff rules.

0.2.19 - 2024-04-27

Fixed

  • kaleido version dependent on operating system GH#66.

0.2.18 - 2023-12-07

Changed

  • Changed build-backend to flit.

0.2.17 - 2023-12-07

Fixed

  • ModuleNotFoundError (GH#64).

0.2.16 - 2023-12-05

Fixed

  • kaleido won't install on Windows machines using pdm package manager (GH issue #62).

0.2.15 - 2023-11-23

Changed

  • Make kaleido version dependent on operating system.

0.2.14 - 2023-11-08

Fixed

  • Issue with kaleido.

0.2.13 - 2023-11-06

Changed

  • Python 3.8 no longer supported.
  • Updated dependencies.

0.2.12 - 2023-08-07

Changed

  • Replaced poetry with pdm.

Fixed

  • Issue with kaleido when using Windows that leads to a crash when using df2img.save_dataframe (GH issue #58).

Security

  • Updated dependencies.

0.2.11 - 2023-05-16

Security

  • Updated dependencies.

0.2.10 - 2023-04-05

Improved

Security

  • Updated dependencies.

0.2.9 - 2023-01-03

Security

  • Updated dependencies.

0.2.8 - 2022-11-01

Improved

  • Introduce Contributing section and Code of conduct to documentation.
  • Using nox for testing:
    • Unit testing using pytest
    • Added pytest coverage report.
    • Linting using flake8.
    • Formatting using black.
    • Type checking using mypy
  • Increased test coverage to 100%.
  • Use python-kacl to maintain CHANGELOG.md.

0.2.7 - 2022-08-03

Security

updated-dependencies: - dependency-name: mistune dependency-type: indirect

0.2.6 - 2022-08-03

Improved

  • Bumped direct dependencies
  • Bumps pandas from 1.4.2 to 1.4.3.

    updated-dependencies: - dependency-name: pandas dependency-type: direct

  • Bumps plotly from 5.8.0 to 5.9.0.

    updated-dependencies: - dependency-name: plotly dependency-type: direct - Bumps various indirect dependencies to latest versions.

0.2.5 - 2022-06-02

Improved

  • Integrated pre-commit with the following hooks:
  • id: trailing-whitespace
  • id: end-of-file-fixer
  • id: check-yaml
  • id: check-added-large-files
  • id: black
  • id: flake8
  • id: isort
  • Updated dependencies (tested with pandas v1.4.2 and plotly v5.8.0).

0.2.4 - 2022-01-22

Improved

  • Updated extra dependencies.

0.2.3 - 2022-01-04

Added

  • Input argument **layout_kwargs added to plot_dataframe function. This allows the user to make use of plotly's vast layout settings via passing through plotly related keyword arguments. Further information can be found at https://plotly.com/python-api-reference/generated/plotly.graph_objects.Layout.html.

0.2.2 - 2021-11-28

Added

  • Input argument plotly_renderer added in order to select the appropriate renderer. For more information about plotly's renderers, visit the respective website at https://plotly.com/python/renderers/.
  • Extensive documentation now available at https://df2img.dev.

0.2.1 - 2021-11-13

Added

  • Possibility to hide the header row. Added input argument tbl_header_visible to the plot_dataframe function, which controls the behavior. If set to False, the table header will be invisible. tbl_header_visible takes precedence over tbl_header input argument. That is, if you set it to False, it doesn't matter whether you provide the tbl_header argument.

0.2.0 - 2021-10-26

Added

  • Possibility to set alignment for individual columns (GH #2).
  • Possibility to set relative column widths (GH #3).

Changed

  • BREAKING CHANGES: Changed the backend from matplotlib to plotly. As a result, function names and signature completely changed.
  • Possibility to set various title formats/styles.
  • Possibility to set various table header row formats/styles.
  • Possibility to set various table cell formats/styles.
  • Possibility to set figure size.

Removed

  • Function df2img. Has been replaced with plot_dataframe and save_dataframe.

0.1.1 - 2021-10-02

Fixed

  • Input arguments col_width, row_height, and font_size now accept int (GH issue #1).

0.1.0 - 2021-09-17

Added

  • Possibility to save pd.DataFrame into image file (e.g. png or jpg).
  • Possibility to add title to the image.
  • Possibility to define the number of header rows and header columns.
  • Possibility to change colors for header rows.
  • Possibility to alternate row colors for better readability.
  • Possibility to change column width and row height.
  • Possibility to change font size.