Skip to content

Commit

Permalink
Attempt to fix the tileddataset plot
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Dec 18, 2024
1 parent 0960f09 commit 35d2ca1
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 @@ -81,7 +81,7 @@ def test_tileddataset_plot(share_zscale):
newtiles = []
for tile in ds.flat:
newtiles.append(tile.rebin((1, 8, 8), operation=np.sum))
ds = TiledDataset(np.array(newtiles).reshape(ds.shape), inventory=ds.inventory)
ds = TiledDataset(np.array(newtiles).reshape(ds.shape), inventory=newtiles[0].inventory)

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

View check run for this annotation

Codecov / codecov/patch

dkist/dataset/tests/test_tiled_dataset.py#L84

Added line #L84 was not covered by tests
fig = plt.figure(figsize=(600, 800))
ds.plot(0, share_zscale=share_zscale)
return plt.gcf()
Expand Down

0 comments on commit 35d2ca1

Please sign in to comment.