Thanks to visit codestin.com Credit goes to github.com
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 df313af + 89a35d8 commit 50d13e4Copy full SHA for 50d13e4
1 file changed
lib/matplotlib/tests/test_axes.py
@@ -2182,9 +2182,8 @@ def test_pcolor_regression(pd):
2182
2183
time_axis, y_axis = np.meshgrid(times, y_vals)
2184
shape = (len(y_vals) - 1, len(times) - 1)
2185
- z_data = np.arange(shape[0] * shape[1])
+ z_data = np.arange(shape[0] * shape[1]).reshape(shape)
2186
2187
- z_data.shape = shape
2188
try:
2189
register_matplotlib_converters()
2190
0 commit comments