Changeset 69e0760 in sasview
- Timestamp:
- May 5, 2012 12:31:05 PM (13 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:
- 199fdec
- Parents:
- 90bb22c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plottools/src/danse/common/plottools/plottable_interactor.py
r10bfeb3 r69e0760 41 41 #Draw curve 42 42 if self._symbol(symbol) == '-': 43 return self.curve(x=x, y=y, color=color, label=label) 43 l_width = markersize * 0.4 44 return self.curve(x=x, y=y, color=color, label=label, width=l_width) 44 45 #return 45 46 if not self.marker == None: … … 89 90 self.update() 90 91 91 def curve(self, x, y, dy=None, color=0, symbol=0, label=None ):92 def curve(self, x, y, dy=None, color=0, symbol=0, label=None, width=2.0): 92 93 """ 93 94 """ … … 95 96 self.base.connect.clear([self.marker]) 96 97 self.color = self._color(color) 97 self.marker = self.axes.plot(x, y, color=self.color, lw= 1.5,98 self.marker = self.axes.plot(x, y, color=self.color, lw=width, 98 99 marker='', linestyle='-', label=label)[0] 99 100
Note: See TracChangeset
for help on using the changeset viewer.