Repository navigation
UltraPlot 2.7.4: Layout sizing and colormap startup fixes
UltraPlot 2.7.4 improves subplot sizing for layouts with spanning axes and fixes the order in which colormaps, color cycles, and configuration files are loaded.
Bug Fixes
- Physical subplot sizing: Layout constraints now use physical sizes so that
refwidth,refheight, andrefaspectdescribe the visible reference axes, including axes that span several grid cells. Changingwspaceorhspaceadjusts the figure size to preserve the requested axes size. With a fixedfigsize, increasing spacing reduces the space available for the axes. The layout also guards against inverted axes when space is exhausted (#856).
The same layout is rendered before and after the fix using identical data and settings, at the same physical scale. Every panel was requested as a 1.6-inch square. Before the fix, panel heights ranged from 2.05 to 2.28 inches, stretching circular contours into ellipses. After the fix, all five panels measure 1.6 by 1.6 inches. The SVG is included in the release assets.
- Colormap and configuration startup: Colormaps and color cycles are registered before startup configuration is applied. Built-in and custom cycles selected in user or local
.ultraplotrcfiles now apply to the first plot, while explicit Matplotlib cycle and patch-color settings are preserved. Direct configuration imports initialize the settings once, and later setup calls preserve changes made during the session (#858).
Documentation and Maintenance
- Clarified installation instructions and missing-dependency messages for chord diagrams, radar charts, phylogenies, and Circos plots. Install the optional dependency with
pip install 'ultraplot[circos]', then restart Python or the notebook kernel (#853). -
- Moved the MCP installation and client-configuration guidance from the main README into the documentation (#851).
-
- Updated the Black and Tombi pre-commit hooks (#852).
What's Changed
- Move MCP guidance from the README to the documentation by @cvanelteren in #851
-
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #852
-
- Clarify Circos optional dependency installation guidance by @cvanelteren in #853
-
- Add constraints based on physical size rather than grid by @cvanelteren in #856
-
- Fix order for loading and registering cmaps by @cvanelteren in #858
Full Changelog: v2.7.3...v2.7.4
- Fix order for loading and registering cmaps by @cvanelteren in #858
What's Changed
- mv mcp from main to docs by @cvanelteren in #851
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #852
- Clarify Circos optional dependency installation guidance by @cvanelteren in #853
- Add constraints based on physical size rather than grid by @cvanelteren in #856
- Fix order for loading and registering cmaps by @cvanelteren in #858
Full Changelog: v2.7.3...v2.7.4