Skip to content

Commit

Permalink
Merge pull request gammapy#5602 from meeseeksmachine/auto-backport-of…
Browse files Browse the repository at this point in the history
…-pr-5601-on-v1.3.x

Backport PR gammapy#5601 on branch v1.3.x (Correct CI fail  (astropy 7))
  • Loading branch information
registerrier authored Nov 23, 2024
2 parents f60c150 + d9b65ea commit ac6b7fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gammapy/visualization/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ def test_plot_map_rgb():

axis = MapAxis([0, 1, 2, 3], node_type="edges")
map_allsky = WcsNDMap.create(binsz=10 * u.deg, axes=[axis])

# Astropy 7 does not support uniformly 0 maps
map_allsky.data += 1

with mpl_plot_check():
plot_map_rgb(map_allsky)

Expand Down

0 comments on commit ac6b7fb

Please sign in to comment.