Changeset 4544


Ignore:
Timestamp:
Aug 17, 2020 10:49:59 AM (14 months ago)
Author:
vondreele
Message:

add the other ToolBarDraw?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4543 r4544  
    332332       
    333333    def ToolBarDraw(self):
    334         try:
     334        mplv = eval(mpl.__version__.replace('.',','))
     335        if mplv[0] >= 3 and mplv[1] >= 3:
     336            self.toolbar.draw_idle()
     337        else:
    335338            self.toolbar.draw()
    336         except:
    337             self.toolbar.draw_idle()
    338339       
    339340class G2PlotOgl(_tabPlotWin):
Note: See TracChangeset for help on using the changeset viewer.