Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Jan 21, 2025
1 parent 057aa04 commit d1df942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyreader/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ def create_plot(
plotting_map[plotting_map != 0.]
)
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[
np.logical_or(
np.isnan(map_to_plot),
map_to_plot == 0.
)
] = np.nanmin(map_to_plot)
print(np.min(equatorial_map), np.nanmin(equatorial_map))
map_to_plot[plotting_map == 0.] = np.nan
equatorial_map = np.ma.masked_invalid(equatorial_map)
map_to_plot = np.ma.masked_invalid(map_to_plot)

Expand Down

0 comments on commit d1df942

Please sign in to comment.