Skip to content

kafe release 1.3.2

Compare
Choose a tag to compare
@dsavoiu dsavoiu released this 07 Oct 12:33
· 5 commits to master since this release

This release fixes a number of small issues, mainly related to changes/deprecations in the matplotlib API.

Changes

  • FIX: ensure backend fallback mechanism remains active
    despite explicit call to matplotlib.use, which otherwise leads
    to failures if the backend is not available (or when running in
    headless mode)
  • FIX: move imports of matplotlib.pyplot to plot methods to avoid
    importing them prematurely
  • FIX: handle deprecation of axis suffixes for keyword arguments
    passed to constructors of axis scale objects starting with
    matplotlib 3.3.0 (e.g. now specify base instead of
    basex/basey for LogScale)
  • FIX: replace call to inverse_transformed completely
    by equivalent transformed(transform.inverted())
  • FIX: use Legend.set_draggable(True) and fall back to deprecated
    Legend.draggable() on failure for backwards compatibility.