except ImportError:
pass
+ #load default list, if possible
+ self.do_loadlist(self.config['defaultlist'])
#HELPER FUNCTIONS
#Everything sending an event should be here
'''
return self.plotmanip[self.config['plotmanips'].index(name)]
+ def _clickize(self, xvector, yvector, index):
+ '''
+ returns a ClickedPoint() object from an index and vectors of x, y coordinates
+ '''
+ point=ClickedPoint()
+ point.index=index
+ point.absolute_coords=xvector[index],yvector[index]
+ point.find_graph_coords(xvector,yvector)
+ return point
+
#HERE COMMANDS BEGIN
def help_set(self):
print self.current_list[self.pointer].notes
else:
if self.notes_filename == None:
- self.notes_filename=raw_input('Filename? ')
+ self.notes_filename=raw_input('Notebook filename? ')
title_line='Notes taken at '+time.asctime()+'\n'
f=open(self.notes_filename,'w')
f.write(title_line)