Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias47n9e committed Jul 4, 2015
1 parent 0482a82 commit aebe081
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions innstereo/main_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
as FigureCanvas)
from matplotlib.backends.backend_gtk3 import (NavigationToolbar2GTK3
as NavigationToolbar)
from matplotlib.colorbar import ColorbarBase
import mplstereonet
import numpy as np
import scipy.spatial as spatial
Expand All @@ -30,7 +29,7 @@
from .layer_view import LayerTreeView
from .layer_types import (PlaneLayer, FaultPlaneLayer, LineLayer,
SmallCircleLayer, EigenVectorLayer)
from .dialog_windows import (AboutDialog, PrintDialog, StereonetProperties,
from .dialog_windows import (AboutDialog, StereonetProperties,
FileChooserParse, FileChooserExport,
FileChooserSave, FileChooserOpen)
from .layer_properties import LayerProperties
Expand Down Expand Up @@ -265,6 +264,10 @@ def iterate_over_store(model, path, itr, start_path):

def insert_layer_data(self, data_dict, drop_info=None):
"""
Inserts layers into a TreeStore.
This method can be used for inserting data at a certain location
or appending it and the end.
"""
def drop_layer(lyr_obj_new, lyr_dict, drop_iter, drop_position):
if lyr_obj_new == None:
Expand Down

0 comments on commit aebe081

Please sign in to comment.