Skip to content

Commit

Permalink
fix changing plot module
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Jun 9, 2015
1 parent 607dbd4 commit e1ad63c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion getdist/gui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def configSettingsChanged(self, vals):
if self.plotter:
hasPlot = self.plotter.fig
self.closePlots()
self.getPlotter(loadNew=True, chain_dir=self.plotter.chain_dir)
self.getPlotter(loadNew=True)
self.custom_plot_settings = {}
if hasPlot: self.plotData()
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion paramgrid/gridconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def updateIniParams(ini, params, path):

def pathIsGrid(batchPath):
return os.path.exists(os.path.join(batchPath, 'batch.pyobj')) or os.path.exists(
os.path.join(batchPath, 'config', 'config.ini'))
os.path.join(batchPath, 'config', 'config.ini'))


def makeGrid(batchPath, settingName=None, settings=None, readOnly=False, interactive=False):
Expand Down

0 comments on commit e1ad63c

Please sign in to comment.