Commit be37304
committed
Remove a copy in pcolormesh.
This slightly increases the size of the maximum pcolormesh before
hitting a MemoryError. Test with
N = 6000; x, y = mgrid[:N, :N]; z = sin(x + y); pcolormesh(x, y, z)
The patch raises the maximum N to ~8000 on my system (depending on the
load).
OTOH, this probably(?) makes pcolormesh sensitive to later changes in
the input array.1 parent b1d9443 commit be37304
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1741 | 1741 | | |
1742 | 1742 | | |
1743 | 1743 | | |
1744 | | - | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
1745 | 1747 | | |
1746 | 1748 | | |
1747 | 1749 | | |
1748 | 1750 | | |
1749 | 1751 | | |
1750 | 1752 | | |
1751 | 1753 | | |
1752 | | - | |
1753 | | - | |
1754 | | - | |
1755 | | - | |
1756 | | - | |
1757 | 1754 | | |
1758 | 1755 | | |
1759 | 1756 | | |
| |||
0 commit comments