Skip to content

DM-54765: Enhance showVisitSkyMap with additional functionality#79

Merged
leeskelvin merged 20 commits into
mainfrom
tickets/DM-54765
May 11, 2026
Merged

DM-54765: Enhance showVisitSkyMap with additional functionality#79
leeskelvin merged 20 commits into
mainfrom
tickets/DM-54765

Conversation

@leeskelvin
Copy link
Copy Markdown
Contributor

No description provided.

@leeskelvin leeskelvin changed the title DM-54765: Add a patch constraint option to showVisitSkyMap.py DM-54765: Enhance showVisitSkyMap with additional functionality Apr 24, 2026
leeskelvin added 12 commits May 5, 2026 08:03
The current `--trimToTracts` argument leads the user to suspect that the
plot limits will be trimmed to the tracts identified by the user when
using `--tracts`.
In fact, `--trimToTracts` trims the plot limits to all tracts which
overlap the visit list.
On this commit, we redefine `--trimToTracts` to instead correctly trim
the plot limits to the tracts that the user specifies via `--tracts`.
To maintain the current behavior, a new flag `--trimToOverlappingTracts`
is provided which, as the name suggests, trims the plot limits to all
tracts which overlap the visit list.
These edits allow us to focus on a singular tract, if desired.
Note: additional logic on this commit has been added to address CCD ID
labels being plotted outside of the plot limits.
When focusing on a single tract, this is a normal occurance for an
LSSTCam visit.
Moving from dashed to dotted helps minimize confusion with tract
boundaries, which are also dashed.
leeskelvin added 4 commits May 5, 2026 08:19
If a user passes in /path/to/my/file without an extension, matplotlib
will automatically add a default extension (.png).
It can then be confusing when the final log message states that
/path/to/my/file has been created, when in fact it is
/path/to/my/file.png.
This commit grabs the default matplotlib extension and correctly appends
it for the purposes of logging if none is provided by the user.
@leeskelvin leeskelvin merged commit f1bbfae into main May 11, 2026
2 checks passed
@leeskelvin leeskelvin deleted the tickets/DM-54765 branch May 11, 2026 14:03
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