Skip to content

0.40.0

Choose a tag to compare

@jrvannucci jrvannucci released this 16 Sep 02:05
· 91 commits to main since this release

Fixes

  • Group boxes no longer shrink/mislocate when member axes are removed. Axes.remove() used to freeze a group's box based on whatever the layout looked like the moment its last axes left it, shrinking removal-by-removal down to that lone survivor's own cell. It now freezes on the first departure instead, and a later tight_layout() reflow repositions that frozen box against its former cells' current geometry -- so it keeps matching still-populated sibling groups' width/height rather than staying pixel-locked to a stale, pre-relayout snapshot.
  • Fixed tight_layout() skipping margin reservation for a fully-emptied group's own title band, which could let its title overlap the row above.

Added

  • Axes.set_xlabel()/set_ylabel() now take size=/fontsize=, matching set_title()'s existing per-axes override -- independently size one axes' x/y label without a whole Style copy per figure. Wired through layout margins, SVG/PNG rendering, align_xlabels()/align_ylabels(), tight_layout(auto_label_scale=True), and the template save/load round-trip.