8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b429c9 + 039a82f commit 40bc075Copy full SHA for 40bc075
lib/matplotlib/tri/tritools.py
@@ -48,7 +48,8 @@ def scale_factors(self):
48
49
"""
50
compressed_triangles = self._triangulation.get_masked_triangles()
51
- node_used = (np.bincount(np.ravel(compressed_triangles)) != 0)
+ node_used = (np.bincount(np.ravel(compressed_triangles),
52
+ minlength=self._triangulation.x.size) != 0)
53
x = self._triangulation.x[node_used]
54
y = self._triangulation.y[node_used]
55
ux = np.max(x)-np.min(x)
0 commit comments