File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -290,16 +290,10 @@ def SetToolTipString(self,text):
290290 self .canvas .SetToolTipString (text )
291291
292292 def ToolBarDraw (self ):
293- mplv = eval (mpl .__version__ .replace ('.' ,',' ))
294- if mplv [0 ] >= 3 and mplv [1 ] >= 3 :
293+ try :
295294 self .toolbar .canvas .draw_idle ()
296- else :
295+ except : # patch: used for MLP <3.3
297296 self .toolbar .draw ()
298- # mplv = eval(mpl.__version__.replace('.',','))
299- # if mplv[0] >= 3 and mplv[1] >= 3:
300- # self.toolbar.draw_idle()
301- # else:
302- # self.toolbar.draw()
303297
304298class G2PlotNoteBook (wx .Panel ):
305299 'create a tabbed panel to hold a GSAS-II graphics window'
Original file line number Diff line number Diff line change @@ -32,15 +32,11 @@ that the following conditions are met:
3232Also note that GSAS-II is normally distributed with the following
3333included software:
3434
35- pybaselines: for license see GSASII/pybaselines/LICENSE.txt and
36- GSASII/pybaselines/LICENSES_bundled.txt.
37-
3835NIST_profile (Fundamental Parameters Python Code): U.S. Government work,
3936 not subject to copyright
4037
41- PDFfit2: see PDFfit2/LICENSE.txt for license.
42-
43- DIFFaX: Not copyrighted; Distributed with direct permission of M. Treacy
38+ DIFFaX: Not copyrighted; Distributed with direct permission of
39+ author (M. Treacy)
4440
4541NIST*LATTICE: U.S. Government work, not subject to copyright
4642
You can’t perform that action at this time.
0 commit comments