Skip to content

Commit

Permalink
fix callback order
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-urban committed May 15, 2024
1 parent 2876417 commit 6aea2c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ def update_view(self,w):
self.fig.canvas.restore_region(self.background)
self.w_fix_xy.button_style = 'success'
self.mapable.set_data(self.wci.transpose())
self.callback_view()
#self.fig.canvas.draw()
self.ax.draw_artist(self.mapable)
self.fig.canvas.blit(self.fig.bbox)
self.fig.canvas.flush_events()
self.callback_view()
return

self.ax.clear()
Expand Down

0 comments on commit 6aea2c0

Please sign in to comment.