Skip to content

Commit b7095e4

Browse files
Jammy2211Jammy2211
authored andcommitted
small fixes
1 parent 2ce6be3 commit b7095e4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

autoarray/inversion/mesh/mesh/abstract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def relocated_grid_from(
4747
values=source_plane_data_grid.array,
4848
mask=source_plane_data_grid.mask,
4949
over_sample_size=source_plane_data_grid.over_sampler.sub_size,
50-
over_sampled=source_plane_data_grid.over_sampled.array,
50+
over_sampled=source_plane_data_grid.over_sampled,
5151
over_sampler=source_plane_data_grid.over_sampler,
5252
xp=xp,
5353
)

autoarray/plot/mat_plot/two_d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def _plot_rectangular_mapper(
577577
)
578578

579579
# Unpack edges (assuming shape is (N_edges, 2) → (y_edges, x_edges))
580-
y_edges, x_edges = mapper.edges_transformed.T # explicit, safe
580+
y_edges, x_edges = mapper.mesh_geometry.edges_transformed.T # explicit, safe
581581

582582
# Build meshes with ij-indexing: (row = y, col = x)
583583
Y, X = np.meshgrid(y_edges, x_edges, indexing="ij")

0 commit comments

Comments
 (0)