Skip to content

Commit

Permalink
Change default caps to tuple in dash_atlas.py
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Jul 17, 2023
1 parent be32c99 commit bd719e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vispy/visuals/line/dash_atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __setitem__(self, key, value):
self._index += 1
self._dirty = True

def make_pattern(self, pattern, caps=[1, 1]):
def make_pattern(self, pattern, caps=(1, 1)):
length = self._data.shape[1]
return _make_pattern(length, pattern, caps)

Expand Down

0 comments on commit bd719e2

Please sign in to comment.