Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Nov 14, 2023
1 parent 15de794 commit c604fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyreader/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def bounding_box(ra, dec, theta, phi):

fig = matplotlib.pyplot.figure(figsize=(self.PLOT_SIZE_X_IN,self.PLOT_SIZE_Y_IN))
ax = plt.gca()
image = ax.get_images()[0]
image = ax.get_images()
# Place colorbar by hand
cb = fig.colorbar(image, ax=ax, orientation='horizontal', aspect=50)
cb.ax.xaxis.set_label_text(r"$-2 \Delta \ln (L)$")
Expand Down

0 comments on commit c604fcf

Please sign in to comment.