Ignore:
Timestamp:
Sep 6, 2018 10:58:01 AM (6 years ago)
Author:
krzywon
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
d0ce666f
Parents:
ec4b19c
Message:

Simplify calling image handler and add documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/invariant/invariant_state.py

    rec4b19c rfa412df  
    612612        wximgbmp = wx.BitmapFromImage(wximg) 
    613613        # store the image in wx.FileSystem Object 
    614         self.img_handler = ReportImageHandler() 
    615         imgs, refs = self.img_handler.instance.set_figs([fig], [wximgbmp], 'inv') 
     614        imgs, refs = ReportImageHandler.set_figs([fig], [wximgbmp], 'inv') 
    616615 
    617616        self.wximgbmp = refs[0] 
Note: See TracChangeset for help on using the changeset viewer.