Changeset 3957


Ignore:
Timestamp:
May 5, 2019 8:32:53 AM (2 years ago)
Author:
vondreele
Message:

fix problem of ghost drawings in plots after use of contouring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3956 r3957  
    89288928            Z = np.where(Z<=Rmax,Z,Rmax)
    89298929            plt.rcParams['figure.facecolor'] = (1.,1.,1.,.5)
     8930            oldSize = plt.rcParams['figure.figsize']
    89308931            plt.rcParams['figure.figsize'] = [6.0,6.0]
    89318932            plt.cla()
     
    89388939            img, (width, height) = agg.print_to_buffer()
    89398940            Zimg = np.frombuffer(img, np.uint8).reshape((height, width, 4))
     8941            plt.rcParams['figure.facecolor'] = (1.,1.,1.,1.)
     8942            plt.rcParams['figure.figsize'] = oldSize
    89408943            RenderViewPlane(msize*eplane,Zimg,width,height)
    89418944               
Note: See TracChangeset for help on using the changeset viewer.