Skip to content

Fixed new and open (issue 121) #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 2 additions & 3 deletions larray_editor/arrayadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ def __init__(self, axes_model, xlabels_model, ylabels_model, data_model):
self.ylabels_model = ylabels_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
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