Skip to content

Commit

Permalink
Add title to zoomed plot
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Nov 14, 2023
1 parent ca96596 commit 93b6aa3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions skyreader/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,9 @@ def bounding_box(ra, dec, theta, phi):
cb = fig.colorbar(image, ax=ax, orientation='horizontal', aspect=50)
cb.ax.xaxis.set_label_text(r"$-2 \Delta \ln (L)$")

# Add title
fig.suptitle(plot_title)

# Plot the best-fit location
# This requires some more coordinate transformations
healpy.projplot(np.pi/2 - min_dec, min_ra,
Expand Down

0 comments on commit 93b6aa3

Please sign in to comment.