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 666004b commit 772ff4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions skyreader/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ def create_plot(
plotting_map[plotting_map != 0.]
)
print(np.min(map_to_plot), np.nanmin(map_to_plot))
equatorial_map[
map_to_plot[
np.logical_or(
np.isnan(equatorial_map),
equatorial_map == 0.
np.isnan(map_to_plot),
map_to_plot == 0.
)
] = np.nanmin(equatorial_map[equatorial_map > 0.])
print(np.min(equatorial_map), np.nanmin(equatorial_map))
Expand Down

0 comments on commit 772ff4e

Please sign in to comment.