Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arohan Ajit authored and Arohan Ajit committed Nov 7, 2024
1 parent 49b8fb1 commit f8ce0ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/wxpython/tplot/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def _layout(self):
self.coorval = gselect.CoordinatesSelect(
parent=self.controlPanelRaster, giface=self._giface
)
except (AttributeError, TypeError):
except (AttributeError, TypeError, NotImplementedError):
self.coorval = TextCtrl(
parent=self.controlPanelRaster,
id=wx.ID_ANY,
Expand Down Expand Up @@ -1460,7 +1460,7 @@ def __call__(self, event):
for a in event.artist.get_xdata():
try:
d = self.convert(a)
except (ValueError, TypeError):
except (IndexError, ValueError):
d = a
xData.append(d)
x = xData[np.argmin(abs(xData - x))]
Expand Down

0 comments on commit f8ce0ae

Please sign in to comment.