-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit c5a64d2
Deprecate proj3d.mod.
Having a function named mod that doesn't do % but computes the norm of a
vector is just a good way to trip the reader (yes, I know about the term
"modulus of a vector", but still).
Also vectorize a normals calculation.
Also we can use % instead of np.mod elsewhere.1 parent 0fec7f1 commit c5a64d2
File tree
5 files changed
+20
-13
lines changed- doc/api/next_api_changes
- lib
- matplotlib
- tri
- mpl_toolkits/mplot3d
5 files changed
+20
-13
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + |
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
985 | 985 |
| |
986 | 986 |
| |
987 | 987 |
| |
988 | - | ||
988 | + | ||
989 | 989 |
| |
990 | 990 |
| |
991 | - | ||
991 | + | ||
992 | 992 |
| |
993 | 993 |
| |
994 | 994 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1135 | 1135 |
| |
1136 | 1136 |
| |
1137 | 1137 |
| |
1138 | - | ||
1138 | + | ||
1139 | 1139 |
| |
1140 | 1140 |
| |
1141 | 1141 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1030 | 1030 |
| |
1031 | 1031 |
| |
1032 | 1032 |
| |
1033 | - | ||
1033 | + | ||
1034 | 1034 |
| |
1035 | 1035 |
| |
1036 | 1036 |
| |
| |||
1768 | 1768 |
| |
1769 | 1769 |
| |
1770 | 1770 |
| |
1771 | - | ||
1772 | - | ||
1773 | - | ||
1771 | + | ||
1772 | + | ||
1773 | + | ||
1774 | 1774 |
| |
1775 | 1775 |
| |
1776 | 1776 |
| |
|
Lines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
2 | - | ||
3 | 1 |
| |
4 | 2 |
| |
5 | 3 |
| |
4 | + | ||
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
8 | + | ||
9 | + | ||
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
| |||
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
66 | + | ||
65 | 67 |
| |
66 | 68 |
| |
67 | 69 |
| |
| |||
80 | 82 |
| |
81 | 83 |
| |
82 | 84 |
| |
83 | - | ||
85 | + | ||
84 | 86 |
| |
85 | - | ||
87 | + | ||
86 | 88 |
| |
87 | 89 |
| |
88 | 90 |
| |
| |||
91 | 93 |
| |
92 | 94 |
| |
93 | 95 |
| |
94 | - | ||
96 | + | ||
95 | 97 |
| |
96 | - | ||
98 | + | ||
97 | 99 |
| |
98 | 100 |
| |
99 | 101 |
| |
|
0 commit comments