Changeset 8abd96d in sasview for src/sas/sasgui/plottools/plottables.py
- Timestamp:
- Aug 11, 2016 6:22:16 AM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- b2f21e0d
- Parents:
- 09d6719
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/plottools/plottables.py
rf2f6af9 r8abd96d 157 157 self.prop["xunit_base"] = units 158 158 159 def xlim(self, xlim):160 """161 Set the limits of the x axis to (min, max).162 """163 self.prop["xlim"] = xlim164 165 159 def yaxis(self, name, units): 166 160 """ … … 173 167 self.prop["ylabel_base"] = name 174 168 self.prop["yunit_base"] = units 175 176 def ylim(self, ylim):177 """178 Set the limits of the y axis to (min, max).179 """180 self.prop["ylim"] = ylim181 169 182 170 def title(self, name): … … 278 266 self.prop = {"xlabel": "", "xunit": None, 279 267 "ylabel": "", "yunit": None, 280 "xlim": None, "ylim": None,281 268 "title": ""} 282 269 self.plottables = {}
Note: See TracChangeset
for help on using the changeset viewer.