Changeset 133812c7 in sasview for src/sas/qtgui/Plotting
- Timestamp:
- Nov 12, 2018 6:47:59 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:
- e5ae812
- Parents:
- ebcdb02
- git-author:
- Piotr Rozyczko <piotr.rozyczko@…> (10/31/18 06:34:14)
- git-committer:
- Piotr Rozyczko <piotr.rozyczko@…> (11/12/18 06:47:59)
- Location:
- src/sas/qtgui/Plotting
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/MaskEditor.py
rdce68f6 r133812c7 42 42 layout.setContentsMargins(0, 0, 0, 0) 43 43 self.frame.setLayout(layout) 44 45 self.plotter.plot() 44 46 layout.addWidget(self.plotter) 45 46 self.plotter.plot()47 47 self.subplot = self.plotter.ax 48 48 -
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() -
src/sas/qtgui/Plotting/Slicers/AnnulusSlicer.py
r63467b6 r133812c7 148 148 GuiUtils.updateModelItemWithPlot(item, new_plot, new_plot.id) 149 149 self.base.manager.communicator.plotUpdateSignal.emit([new_plot]) 150 self.base.manager.communicator.forcePlotDisplaySignal.emit([item, new_plot]) 150 151 151 152 if self.update_model: -
src/sas/qtgui/Plotting/Slicers/BoxSlicer.py
r63467b6 r133812c7 188 188 new_plot.id = (self.averager.__name__) + self.base.data.name 189 189 new_plot.is_data = True 190 item = self._item 190 191 if self._item.parent() is not None: 191 192 item = self._item.parent() 192 193 GuiUtils.updateModelItemWithPlot(item, new_plot, new_plot.id) 194 self.base.manager.communicator.forcePlotDisplaySignal.emit([item, new_plot]) 193 195 194 196 if self.update_model: -
src/sas/qtgui/Plotting/Slicers/SectorSlicer.py
r63467b6 r133812c7 167 167 new_plot.id = "SectorQ" + self.base.data.name 168 168 new_plot.is_data = True 169 item = self._item 169 170 if self._item.parent() is not None: 170 171 item = self._item.parent() … … 172 173 173 174 self.base.manager.communicator.plotUpdateSignal.emit([new_plot]) 175 self.base.manager.communicator.forcePlotDisplaySignal.emit([item, new_plot]) 174 176 175 177 if self.update_model: -
src/sas/qtgui/Plotting/UI/MaskEditorUI.ui
re20870bc r133812c7 7 7 <x>0</x> 8 8 <y>0</y> 9 <width> 687</width>10 <height> 507</height>9 <width>824</width> 10 <height>453</height> 11 11 </rect> 12 12 </property>
Note: See TracChangeset
for help on using the changeset viewer.