Skip to content

Commit

Permalink
Merge branch 'topic/default/fix-set_data' into 'branch/default'
Browse files Browse the repository at this point in the history
Fix data_objects/display_piv.py set_data

See merge request fluiddyn/fluidimage!114
  • Loading branch information
paugier committed Oct 18, 2024
2 parents e9d47e5 + 79b5b2f commit d483d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fluidimage/data_objects/display_piv.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def select_arrow(self, ind, artist=None):
deltay = result.deltays_wrong[ind_all]

self._point.set_visible(True)
self._point.set_data(ix, iy)
self._point.set_data([ix], [iy])

text = (
f"vector {ind_all} at ix = {ix} : iy = {iy}"
Expand Down

0 comments on commit d483d86

Please sign in to comment.