Skip to content

Commit

Permalink
Fix ndcube issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Jan 22, 2025
1 parent 8156d8b commit 0d0f247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkist/dataset/tests/test_tiled_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_tileddataset_plot(share_zscale):
# https://github.com/sunpy/ndcube/issues/815
for tile in newtiles:
tile.meta["inventory"] = ori_ds.inventory
ds = TiledDataset(np.array(newtiles).reshape(ds.shape), inventory=newtiles[0].inventory)
ds = TiledDataset(np.array(newtiles).reshape(ori_ds.shape), inventory=newtiles[0].inventory)
fig = plt.figure(figsize=(12, 15))
ds.plot(0, share_zscale=share_zscale, fig=fig)

Check warning on line 90 in dkist/dataset/tests/test_tiled_dataset.py

View check run for this annotation

Codecov / codecov/patch

dkist/dataset/tests/test_tiled_dataset.py#L86-L90

Added lines #L86 - L90 were not covered by tests
return plt.gcf()
Expand Down

0 comments on commit 0d0f247

Please sign in to comment.