Skip to content

Commit 796651f

Browse files
committed
pcolormesh path
1 parent 4ad87c9 commit 796651f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

animatplot/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = (0, 4, 0)
1+
version = (0, 4, 1)
22
info = ''
33
__version__ = '.'.join(map(str, version))+info

animatplot/blocks/image_like.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ def _update(self, i):
6060
return self.quad
6161

6262
def __len__(self):
63-
return self.C.shape[2]
63+
if self._is_list:
64+
return self.C.shape[0]
65+
return self.C.shape[self.t_axis]
6466

6567
def _make_pcolormesh_slice(self, i, dim):
6668
if self._is_list:

0 commit comments

Comments
 (0)