Skip to content

Commit

Permalink
debug create_plot
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Jan 21, 2025
1 parent 36bdd5c commit cc90b0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skyreader/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def create_plot(
)
print(np.min(map_to_plot), np.nanmin(map_to_plot))
print(np.min(equatorial_map), np.nanmin(equatorial_map))
# map_to_plot[plotting_map == 0.] = np.nan
map_to_plot[plotting_map == 0.] = np.nan
map_to_plot[
np.logical_or(
np.isnan(map_to_plot),
Expand Down Expand Up @@ -184,6 +184,7 @@ def create_plot(
contour_set = ax.contour(
ra, dec, map_to_plot, levels=[level], colors=[color]
)
print(contour_set)
cs_collections.append(contour_set.get_paths()[0])
print(level, cs_collections)
e, _ = contour_set.legend_elements()
Expand Down

0 comments on commit cc90b0f

Please sign in to comment.