Skip to content

Commit

Permalink
Merge pull request #1355 from zm711/repr-fix
Browse files Browse the repository at this point in the history
Fix typo in analogsignal repr
  • Loading branch information
apdavison authored Nov 29, 2023
2 parents b8989a1 + db3d4f4 commit 93a7ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/core/analogsignal.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def _repr_pretty_(self, pp, cycle):
Handle pretty-printing the :class:`AnalogSignal`.
'''
pp.text(f"{self.__class__.__name__} with {self.shape[1]} channels of length "
f"{self.shape[0]}; units {self.units.dimesionality.string}; datatype "
f"{self.shape[0]}; units {self.units.dimensionality.string}; datatype "
f"{self.dtype}")
if self._has_repr_pretty_attrs_():
pp.breakable()
Expand Down

0 comments on commit 93a7ede

Please sign in to comment.