Skip to content

Commit 5430647

Browse files
committed
fix plot unit tests
1 parent f6dfda5 commit 5430647

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

autoarray/plot/wrap/two_d/contour.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ def set(
9393
config_dict.pop("use_log10")
9494
config_dict.pop("include_values")
9595

96-
levels = self.levels_from(array)
96+
levels = self.levels_from(array.array)
9797

9898
ax = plt.contour(
99-
array.native[::-1], levels=levels, extent=extent, **config_dict
99+
array.native.array[::-1], levels=levels, extent=extent, **config_dict
100100
)
101101
if self.include_values:
102102
try:

test_autoarray/plot/include/test_include.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def test__loads_default_values_from_config_if_not_input():
66

77
assert include.origin is True
88
assert include.mask == True
9-
assert include.border is True
9+
assert include.border is False
1010
assert include.parallel_overscan is True
1111
assert include.serial_prescan is True
1212
assert include.serial_overscan is False

0 commit comments

Comments
 (0)