Changeset 1942f63 in sasview for src/sas/qtgui/Plotting/Plotter2D.py
- Timestamp:
- Nov 6, 2018 7:38:02 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:
- 5584dee
- Parents:
- b9ab979
- git-author:
- Piotr Rozyczko <piotr.rozyczko@…> (10/20/18 17:16:40)
- git-committer:
- Piotr Rozyczko <piotr.rozyczko@…> (11/06/18 07:38:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Plotter2D.py
rb9ab979 r1942f63 513 513 self.figure.canvas.draw() 514 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 515 525 def update(self): 516 526 self.figure.canvas.draw()
Note: See TracChangeset
for help on using the changeset viewer.