• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

XENONnT / appletree / 22644990107

03 Mar 2026 10:08PM UTC coverage: 86.249% (+0.8%) from 85.46%
22644990107

push

github

web-flow
Add function to plot all maps (#215)

* Add function to plot all maps

* Fix plot style for sigma map

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix regbin coordinate convention: lowers/uppers are node centers, not edges

The interpolation code uses linspace(lower, upper, n_bins) to reconstruct
grid positions, meaning coordinate_lowers/uppers are the first/last node
centers. The plotting code incorrectly treated them as bin edges using
linspace(lower, upper, n_bins + 1).

This also fixes the imshow extent in _plot_map_2d_regbin to use proper
outer edges derived from the node centers.

Includes additional tests from the previous local-only commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Track all config name aliases in _collect_maps for collapse lookup

When multiple plugins share the same underlying map file under different
config names, _collect_maps now records all names as aliases. The
collapse dict in plot_maps is checked against all aliases, so the user
can use any config name that references a given map.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Plot all three bands (lower, median, upper) for 2D SigmaMap

Previously the 2D SigmaMap case only plotted the median as a single
heatmap, silently discarding the lower and upper bounds. Now it
produces three separate figures, each with a label suffix indicating
which band it represents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Document that plot_maps caller is responsible for closing figures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Reduce plot_maps complexi... (continued)

221 of 230 new or added lines in 1 file covered. (96.09%)

2672 of 3098 relevant lines covered (86.25%)

1.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.28
/appletree/plot.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc