Changeset 133812c7 in sasview for src/sas/qtgui/Plotting/Plotter2D.py
- Timestamp:
- Nov 12, 2018 4:47:59 AM (5 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:
- e5ae812
- Parents:
- ebcdb02
- git-author:
- Piotr Rozyczko <piotr.rozyczko@…> (10/31/18 04:34:14)
- git-committer:
- Piotr Rozyczko <piotr.rozyczko@…> (11/12/18 04:47:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Plotter2D.py
rf5cec7c r133812c7 281 281 new_plot.id = "Circ avg " + self.data.name 282 282 new_plot.is_data = True 283 item = self._item 283 284 if self._item.parent() is not None: 284 285 item = self._item.parent() … … 286 287 287 288 self.manager.communicator.plotUpdateSignal.emit([new_plot]) 289 290 self.manager.communicator.forcePlotDisplaySignal.emit([item, new_plot]) 291 292 # Show the plot 288 293 289 294 def setSlicer(self, slicer): … … 508 513 self.figure.canvas.draw() 509 514 515 def imageShow(self, img, origin=None): 516 """ 517 Show background image 518 :Param img: [imread(path) from matplotlib.pyplot] 519 """ 520 if origin is not None: 521 im = self.ax.imshow(img, origin=origin) 522 else: 523 im = self.ax.imshow(img) 524 510 525 def update(self): 511 526 self.figure.canvas.draw()
Note: See TracChangeset
for help on using the changeset viewer.