Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions larray_editor/arrayadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def __init__(self, axes_model, xlabels_model, ylabels_model, data_model):
self.data_model = data_model

# these are not valid values, but should overwritten by set_data which must be called before the adapter is used
self.current_filter = None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to update the comment above which is no longer true

self.changes = None
self.current_filter = {}
self.changes = {}
self.la_data = None
self.bg_value = None
self.filtered_data = None
Expand Down
2 changes: 1 addition & 1 deletion larray_editor/arraymodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def __init__(self, parent=None, readonly=False, format="%.3f", font=None, minval
self.minvalue = minvalue
self.maxvalue = maxvalue

self.changes = None
self.changes = {}
self.color_func = None

self.vmin = None
Expand Down