Changeset 3893 for trunk/GSASIIplot.py
- Timestamp:
- Apr 12, 2019 3:35:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r3892 r3893 8707 8707 img, (width, height) = agg.print_to_buffer() 8708 8708 Zimg = np.frombuffer(img, np.uint8).reshape((height, width, 4)) 8709 # Zimg[:,:,3] = 128 #sets alpha to 25%8710 8709 RenderViewPlane(msize*eplane,Zimg,width,height) 8711 8710 8712 # print time.time()-time08713 8711 try: 8714 8712 if Page.context: Page.canvas.SetCurrent(Page.context)
Note: See TracChangeset
for help on using the changeset viewer.