Skip to content

Rewrite plot_geometry.py and demos - #370

Open
yliu88au wants to merge 1 commit into
CERN:masterfrom
liu005:Rewrite_plot_geometry
Open

yliu88au wants to merge 1 commit into
CERN:masterfrom
liu005:Rewrite_plot_geometry

Conversation

@yliu88au

Copy link
Copy Markdown
Contributor

Rewrite plot_geometry.py with many new features: ie., flexible geometry display with animations, Part 2 of previous PR#357

Rewrite plot_geometry.py with many new features: ie., flexible geometry display with animations
yliu88au added a commit to liu005/TIGRE that referenced this pull request Sep 2, 2026
The test file was a commented-out visual inspection script; replaced with 8 headless (Agg) tests: static axes/scene, default-angles path, out-of-range pos fallback, both rotation modes rendered frame-by-frame via writer save, the fname save fallback chain, and calCube single/batched vertex geometry. The default-angles test caught a real bug: a default tigre.geometry() carries angles=None, so 'hasattr(ogeo, angles)' passed and check_geo crashed instead of falling back to linspace(0, 2pi, 100) - fixed with a None check. Preparation for an upstream PR (standalone module, no conflict with CERN#370).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant