Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
viljarjf committed Aug 13, 2024
1 parent 284fbc3 commit 18b405b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyxem/signals/indexation_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,9 @@ def to_phase_map(self):

phase_idxs = self.to_phase_index()
# in case n_best = 1
phase_idxs = phase_idxs.reshape(*self.axes_manager._navigation_shape_in_array, -1)
phase_idxs = phase_idxs.reshape(
*self.axes_manager._navigation_shape_in_array, -1
)
colors = [p.color_rgb for p in self.simulation.phases]

float_rgb = np.take(colors, phase_idxs[..., 0], axis=0)
Expand Down

0 comments on commit 18b405b

Please sign in to comment.