Skip to content

Commit

Permalink
comment mpl calls in remote tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatthieu3 authored and bsipocz committed Jan 12, 2021
1 parent 9c238f1 commit 3e30b9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions astroquery/hips2fits/tests/test_hips2fits_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def test_query_jpg_no_wcs(self):
cmap=Colormap('viridis'),
)

import matplotlib.cm as cm
import matplotlib.pyplot as plt
# import matplotlib.cm as cm
# import matplotlib.pyplot as plt

im = plt.imshow(result)
plt.show(im)
# im = plt.imshow(result)
# plt.show(im)

# We must get a numpy array with 3 dimensions, and the last one should be of size 3 (RGB)
assert isinstance(result, np.ndarray) and result.shape[2] == 3
Expand Down

0 comments on commit 3e30b9f

Please sign in to comment.