Skip to content

Commit

Permalink
Update SysMon to version 0.29
Browse files Browse the repository at this point in the history
Refs #9843
  • Loading branch information
martyngigg committed Jan 8, 2015
1 parent 29faf67 commit c15e56f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/SysMon/_version.py
@@ -1,4 +1,4 @@
#File to identify the current version of the software
#Note that this file must be manually updated to contain the same
#version number as the git tag for the check-in.
__version__="v0.28"
__version__="v0.29"
5 changes: 3 additions & 2 deletions Code/Mantid/MantidPlot/SysMon/sysmon.py
Expand Up @@ -119,7 +119,8 @@ def __init__(self, parent=None):
#create drawing canvas
# a figure instance to plot on

if not re.match('1.[0-1]',matplotlib.__version__):
#rc_context in matplotlib requires version 1.2.0 or later, so check we don't have an older version of matplotlib
if not re.match('1.[0-1]',matplotlib.__version__) and not re.match('0.',matplotlib.__version__):
#if not an old version of matplotlib, then use the following command
matplotlib.rc_context({'toolbar':False})
#initialize figure 1 and its canvas for cpu and memory history plots
Expand Down Expand Up @@ -163,7 +164,7 @@ def __init__(self, parent=None):
self.ui.tabWidget.setCurrentIndex(config.SYST_TAB)

#initialize version label
self.ui.labelVersion.setText("Version: "+__version__+"_"+psutil.__version__)
self.ui.labelVersion.setText("Version: "+__version__+"_"+matplotlib.__version__+"_"+psutil.__version__)

def constantUpdate(self):
#redirct to global function
Expand Down

0 comments on commit c15e56f

Please sign in to comment.