Commit 46630e7b authored by David Flitney's avatar David Flitney
Browse files

Merge remote-tracking branch 'origin/master'

parents 5c95d795 d9645319
.pydevproject
*.pyc
*.pyo
build/
dist/
*.egg-info
MANIFEST
melview.ini
......@@ -281,7 +281,9 @@ Are you sure you want to continue?
# info.object.reset_zoom()
def do_save_as(self, info):
dialog = FileDialog(action="save as", wildcard=info.object.file_wildcard)
default_directory = os.path.split(info.object.dirpath)[0]
dialog = FileDialog(action="save as", wildcard=info.object.file_wildcard,
default_directory=default_directory)
dialog.open()
if dialog.return_code == OK:
info.object.filedir = dialog.directory
......@@ -415,7 +417,7 @@ class MelodicWindow(HasTraits):
mm = int(ceil(sqrt(z) * 1.5) - 1)
else:
mm = ncols
nn = z / mm + 1
nn = y / mm + 1
M = zeros((mm * x, nn * z))
......@@ -436,7 +438,7 @@ class MelodicWindow(HasTraits):
mm = int(ceil(sqrt(y) * 1.5) - 1)
else:
mm = ncols
nn = y / mm + 1
nn = x / mm + 1
M = zeros((mm * y, nn * z))
......@@ -459,7 +461,7 @@ class MelodicWindow(HasTraits):
mm = ncols
nn = z / mm + 1
M = zeros((mm * x, nn * y))
image_id = 0
for j in range(mm):
for k in range(nn):
......@@ -654,7 +656,7 @@ class MelodicWindow(HasTraits):
self.colorbar.update_normal(d)
if self.ic_selected.class_name in 'Signal':
self.image_axes.set_title(self.ic_selected.class_name, bbox={'color':'lightgreen'})
self.image_axes.set_title(' Signal ', bbox={'color':'lightgreen'})
else:
self.image_axes.set_title(self.ic_selected.class_name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment