Commit a19cd43
committed
mathtext.py style fixes.
The only non-trivial fix is a replacement of np.round to the builtin
round (mostly because it helps squeezing a line withing 79 chars);
np.round was introduced in 95fda79 to get consistent Py2/Py3 behavior
but Py3 matches np.round anyways (Py2's builtin round rounds halfway
away from zero, Py3's builtin round and np.round round to even).
Builtin round is faster than np.round for scalars, too (not that it
really matters).1 parent 8a8c881 commit a19cd43
2 files changed
Lines changed: 265 additions & 170 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments