@@ -215,7 +215,7 @@ def test_quiver3d():
215
215
w = (np .sqrt (2.0 / 3.0 ) * np .cos (np .pi * x ) * np .cos (np .pi * y ) *
216
216
np .sin (np .pi * z ))
217
217
218
- ax .quiver (x , y , z , u , v , w , length = 0.1 )
218
+ ax .quiver (x , y , z , u , v , w , length = 0.1 , pivot = 'tip' , normalize = True )
219
219
220
220
@image_comparison (baseline_images = ['quiver3d_empty' ], remove_text = True )
221
221
def test_quiver3d_empty ():
@@ -229,7 +229,7 @@ def test_quiver3d_empty():
229
229
w = (np .sqrt (2.0 / 3.0 ) * np .cos (np .pi * x ) * np .cos (np .pi * y ) *
230
230
np .sin (np .pi * z ))
231
231
232
- ax .quiver (x , y , z , u , v , w , length = 0.1 )
232
+ ax .quiver (x , y , z , u , v , w , length = 0.1 , pivot = 'tip' , normalize = True )
233
233
234
234
@image_comparison (baseline_images = ['quiver3d_masked' ], remove_text = True )
235
235
def test_quiver3d_masked ():
@@ -247,7 +247,7 @@ def test_quiver3d_masked():
247
247
u = np .ma .masked_where ((- 0.4 < x ) & (x < 0.1 ), u , copy = False )
248
248
v = np .ma .masked_where ((0.1 < y ) & (y < 0.7 ), v , copy = False )
249
249
250
- ax .quiver (x , y , z , u , v , w , length = 0.1 )
250
+ ax .quiver (x , y , z , u , v , w , length = 0.1 , pivot = 'tip' , normalize = True )
251
251
252
252
@image_comparison (baseline_images = ['quiver3d_pivot_middle' ], remove_text = True ,
253
253
extensions = ['png' ])
@@ -262,7 +262,7 @@ def test_quiver3d_pivot_middle():
262
262
w = (np .sqrt (2.0 / 3.0 ) * np .cos (np .pi * x ) * np .cos (np .pi * y ) *
263
263
np .sin (np .pi * z ))
264
264
265
- ax .quiver (x , y , z , u , v , w , length = 0.1 , pivot = 'middle' )
265
+ ax .quiver (x , y , z , u , v , w , length = 0.1 , pivot = 'middle' , normalize = True )
266
266
267
267
@image_comparison (baseline_images = ['quiver3d_pivot_tail' ], remove_text = True ,
268
268
extensions = ['png' ])
@@ -277,7 +277,7 @@ def test_quiver3d_pivot_tail():
277
277
w = (np .sqrt (2.0 / 3.0 ) * np .cos (np .pi * x ) * np .cos (np .pi * y ) *
278
278
np .sin (np .pi * z ))
279
279
280
- ax .quiver (x , y , z , u , v , w , length = 0.1 , pivot = 'tail' )
280
+ ax .quiver (x , y , z , u , v , w , length = 0.1 , pivot = 'tail' , normalize = True )
281
281
282
282
283
283
@image_comparison (baseline_images = ['axes3d_labelpad' ], extensions = ['png' ])
0 commit comments