Skip to content

Commit

Permalink
Merge pull request #403 from astronomy-commons/sean/fix-plotting-axes
Browse files Browse the repository at this point in the history
Minor plotting fixes
  • Loading branch information
smcguire-cmu authored Oct 29, 2024
2 parents 1710fd7 + 6a4b46a commit db910af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hats/inspection/visualize_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def plot_pixel_list(pixels: List[HealpixPixel], plot_title: str = "", projection
col,
boundaries=np.arange(np.min(col_array) - 0.5, np.max(col_array) + 0.6, 1),
ticks=np.arange(np.min(col_array), np.max(col_array) + 1),
label="order",
label="HEALPix Order",
)
return fig, ax

Expand Down Expand Up @@ -428,3 +428,5 @@ def _plot_healpix_value_map(ipix, depth, values, ax, wcs, cmap="viridis", norm=N

# Set projection
_set_wcs(ax, wcs)

ax.coords[0].set_format_unit("deg")

0 comments on commit db910af

Please sign in to comment.