Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a87ffda

Browse files
committed
Removed abs value on parameter
1 parent c611877 commit a87ffda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/sankey.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ def _get_angle(a, r):
743743
if isinstance(self.format, str):
744744
quantity = self.format % abs(number) + self.unit
745745
elif callable(self.format):
746-
quantity = self.format(abs(number))
746+
quantity = self.format(number)
747747
else:
748748
raise TypeError(
749749
'format must be callable or a format string')

0 commit comments

Comments
 (0)