Changeset 75906a1 in sasview for src/sas/qtgui/Plotting/Binder.py
- Timestamp:
- Oct 26, 2018 6:39:39 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 9d23e4c, 722b7d6
- Parents:
- aed159f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Binder.py
rcee5c78 r75906a1 233 233 """ 234 234 # TODO: sort by zorder of axes then by zorder within axes 235 #self._artists.sort(cmp=lambda x, y: cmp(y.zorder, x.zorder))236 #self._artists.sort(cmp=lambda x, y: y.zorder.__gt__(x.zorder))237 235 found = Selection() 236 self._artists.sort(key=lambda x: x.zorder, reverse=True) 238 237 for artist in self._artists: 239 238 # TODO: should contains() return false if invisible?
Note: See TracChangeset
for help on using the changeset viewer.