Codebase list python-igor / dadce20
Carry on plotting in scripts if one of the plots fails (e.g. for text waves). W. Trevor King 11 years ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7676 figure = _matplotlib_pyplot.figure()
7777 axes = figure.add_subplot(1, 1, 1)
7878 axes.set_title(title)
79 axes.plot(wave['wave']['wData'], 'r.')
79 try:
80 axes.plot(wave['wave']['wData'], 'r.')
81 except ValueError as error:
82 _LOG.error('error plotting {}: {}'.format(title, error))
83 pass
8084 self._num_plots += 1
8185
8286 def display_plots(self):