Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Fixed initial settings of axis in scatter

This commit is contained in:
Arnar Flatberg 2008-02-29 16:16:17 +00:00
parent aa3ec28ec6
commit 1ad8b1a4f1
1 changed files with 2 additions and 2 deletions

View File

@ -352,8 +352,8 @@ class NavigatorMenu(gtk.Menu):
datasets = main.project.current_data datasets = main.project.current_data
ds_major = datasets[0] ds_major = datasets[0]
dims_major = ds_major.get_dim_name() dims_major = ds_major.get_dim_name()
ids_major = ds_major.get_identifiers(dims_major[1]) ids_major = ds_major.get_identifiers(dims_major[1], sorted=True)
if len(datasets)>1: if len(datasets) > 1:
# If there is more than one active dataset -> try to use the two first # If there is more than one active dataset -> try to use the two first
ds_minor = datasets[1] ds_minor = datasets[1]
dims_minor = ds_minor.get_dim_name() dims_minor = ds_minor.get_dim_name()