302 code bug spot analysis visualizations have nested window dressings#303
Merged
Conversation
…essed version of an earlier visualization
1 task
…-have-nested-window-dressings
jehsharp
reviewed
Nov 10, 2025
Collaborator
jehsharp
left a comment
There was a problem hiding this comment.
This looks great, thanks for fixing that bug, should it also include updates to the testing suite?
…-have-nested-window-dressings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This fixes the nested window dressings issue by clearing window dressings before rendering on visualizations that are dependencies of later visualizations.
Fixes #302
Summary of changes
Implementation notes
Correctness was verified with the following example code (from the upcoming CrossSection example looking straight at the sun):
Without this fix, the resulting images for the "VCrosSec" and "VFalseC4" visualization image processors had the window dressings duplicated. After the fix the window dressings were no longer inherited by the later visualizations.
Submission checklist
develop, notmainopencsp/test/test_DocStringsExist.pyare verified to include this change or have been updated accordinglydoc/are verified to include this change or have been updated accordinglyAdditional information
This needs additional work to add unit tests and update the documentation.