Changeset 3966


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

remove extra import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3962 r3966  
    89168916                return
    89178917            Rmax = np.max(rho)*drawingData['contourMax']
    8918             from matplotlib.backends.backend_agg import FigureCanvasAgg
    89198918            import matplotlib.pyplot as plt
    89208919            Model = GL.glGetDoublev(GL.GL_MODELVIEW_MATRIX)
     
    89418940            plt.subplots_adjust(bottom=0.,top=1.,left=0.,right=1.,wspace=0.,hspace=0.)
    89428941            canvas = plt.get_current_fig_manager().canvas
    8943             agg = canvas.switch_backends(FigureCanvasAgg)
     8942            agg = canvas.switch_backends(hcCanvas)
    89448943            agg.draw()
    89458944            img, (width, height) = agg.print_to_buffer()
     
    89478946            plt.rcParams['figure.facecolor'] = (1.,1.,1.,1.)
    89488947            plt.rcParams['figure.figsize'] = oldSize
     8948#            agg = canvas.switch_backends(Canvas)
    89498949            RenderViewPlane(msize*eplane,Zimg,width,height)
    89508950               
Note: See TracChangeset for help on using the changeset viewer.