-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Plotting should never cause a crash. Traceback:
Traceback (most recent call last):
File "/home/daniel/MasterThesis/testbeam_analysis/testbeam_analysis/gui/gui_widgets/worker.py", line 54, in work
self.main_func(self.args)
File "/home/daniel/MasterThesis/testbeam_analysis/testbeam_analysis/gui/gui_widgets/plotter.py", line 226, in _get_figs
**self.kwargs[multi_plot_key])
File "/home/daniel/MasterThesis/testbeam_analysis/testbeam_analysis/tools/plot_utils.py", line 930, in plot_events
ax.set_zlim(np.amin(np.array(z)), np.amax(np.array(z)))
File "/home/daniel/anaconda2/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 732, in set_zlim3d
bottom = self._validate_converted_limits(bottom, self.convert_zunits)
File "/home/daniel/anaconda2/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 3040, in _validate_converted_limits
raise ValueError("Axis limits cannot be NaN or Inf")
ValueError: Axis limits cannot be NaN or Inf