Skip to content

Commit

Permalink
minor fix to remove a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed Jun 19, 2018
1 parent 13c4990 commit 18b9a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdf_compass/compass_viewer/array/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def on_sliced(self, evt):
def on_plot(self, evt):
""" User has chosen to plot the current selection """
data, names, line = self.get_selected_data()
if data != None:
if data is not None:
if line:
f = LinePlotFrame(data, names)
f.Show()
Expand Down

0 comments on commit 18b9a54

Please sign in to comment.