From 1ad8b1a4f1ba2be982d9234b8286964d011904d7 Mon Sep 17 00:00:00 2001 From: flatberg Date: Fri, 29 Feb 2008 16:16:17 +0000 Subject: [PATCH] Fixed initial settings of axis in scatter --- fluents/navigator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluents/navigator.py b/fluents/navigator.py index e7fb5cc..a754e84 100644 --- a/fluents/navigator.py +++ b/fluents/navigator.py @@ -352,8 +352,8 @@ class NavigatorMenu(gtk.Menu): datasets = main.project.current_data ds_major = datasets[0] dims_major = ds_major.get_dim_name() - ids_major = ds_major.get_identifiers(dims_major[1]) - if len(datasets)>1: + ids_major = ds_major.get_identifiers(dims_major[1], sorted=True) + if len(datasets) > 1: # If there is more than one active dataset -> try to use the two first ds_minor = datasets[1] dims_minor = ds_minor.get_dim_name()