Skip to content

v0.4.0

Choose a tag to compare

@williambdean williambdean released this 03 Sep 11:33
· 28 commits to main since this release
130d967

What's Changed

This release improves the axis tick rendering for readability, and
substantially expands the PyMC integration with nested prior groups,
initial-selection support, and more robust distribution parsing.

Axis & rendering

  • Major/minor tick system — labeled major ticks plus unlabeled minor
    gridlines, so axes read cleanly at any scale.
  • Continuously scale tick density with label width (damped for
    high-precision scales) — reasonable ranges show more numbers, while
    extremely large/small scales stay sparse. No hard tiers means no jarring
    tick-count jumps when panning/zooming.
  • Uniformly spaced, omitted-when-crowded minors — minors subdivide
    proportionally to major density (dropped when majors are dense) and land on
    an even lattice, fixing uneven or missing minor gridlines.
  • Precision & formatting — tick labels keep their own step precision, and
    comma-formatted values (e.g. 10,000,000) are preserved instead of flipping
    between commas and exponential notation. Exponential is reserved for
    genuinely astronomical values.

PyMC integration (modist.pymc)

  • Nested tab groups for 2-D+ priors — the first dimension becomes outer
    tabs and the second becomes inner tabs (e.g. dims=("geo", "product") →
    outer tabs A/B/C, inner tabs 1/2/3/4); third+ dims flatten into composite
    inner labels.
  • Robust distribution parameter parsing — unwraps pymc's op-input
    transforms (DimShuffle broadcasts, Elemwise(reciprocal)) so per-element
    seeding works with dims'd models, and Gamma's rate/scale parameterization
    is parsed correctly.

UI (modist.ui)

  • selected / selected property — open a specific tab initially via a
    string (flat) or a nested path (e.g. ["alpha", "north"]), and read the
    currently selected tab path from the panel.
  • elements and selected properties exposed on Priors panels, excluding
    internal layout bookkeeping.

Tests & demos

  • New ticks integration probe covering tick density, comma/decimal
    formatting, origin labels, and uniform minor spacing across PyMC-relevant
    scales.
  • Expanded pymc and ui test coverage; updated demo defaults.

New Contributors

No new contributors this release.

Full Changelog: v0.3.0...v0.4.0