@@ -2402,8 +2402,9 @@ def bar3d(self, x, y, z, dx, dy, dz, color=None,
2402
2402
When true, this shades the dark sides of the bars (relative
2403
2403
to the plot's source of light).
2404
2404
2405
- Any additional keyword arguments are passed onto
2406
- :func:`~mpl_toolkits.mplot3d.art3d.Poly3DCollection`
2405
+ **kwargs
2406
+ Any additional keyword arguments are passed onto
2407
+ :class:`~mpl_toolkits.mplot3d.art3d.Poly3DCollection`
2407
2408
2408
2409
Returns
2409
2410
-------
@@ -2483,49 +2484,45 @@ def quiver(self, *args,
2483
2484
length = 1 , arrow_length_ratio = .3 , pivot = 'tail' , normalize = False ,
2484
2485
** kwargs ):
2485
2486
"""
2486
- Plot a 3D field of arrows.
2487
-
2488
- call signatures::
2489
-
2490
- quiver(X, Y, Z, U, V, W, **kwargs)
2491
-
2492
- Arguments:
2487
+ ax.quiver(X, Y, Z, U, V, W, /, length=1, arrow_length_ratio=.3, pivot='tail', normalize=False, **kwargs)
2493
2488
2494
- *X*, *Y*, *Z*:
2495
- The x, y and z coordinates of the arrow locations (default is
2496
- tail of arrow; see *pivot* kwarg)
2497
-
2498
- *U*, *V*, *W*:
2499
- The x, y and z components of the arrow vectors
2489
+ Plot a 3D field of arrows.
2500
2490
2501
2491
The arguments could be array-like or scalars, so long as they
2502
2492
they can be broadcast together. The arguments can also be
2503
2493
masked arrays. If an element in any of argument is masked, then
2504
2494
that corresponding quiver element will not be plotted.
2505
2495
2506
- Keyword arguments:
2496
+ Parameters
2497
+ ----------
2498
+ X, Y, Z : array-like
2499
+ The x, y and z coordinates of the arrow locations (default is
2500
+ tail of arrow; see *pivot* kwarg)
2507
2501
2508
- *length*: [1.0 | float]
2509
- The length of each quiver, default to 1.0, the unit is
2510
- the same with the axes
2502
+ U, V, W : array-like
2503
+ The x, y and z components of the arrow vectors
2511
2504
2512
- *arrow_length_ratio*: [0.3 | float]
2513
- The ratio of the arrow head with respect to the quiver,
2514
- default to 0.3
2505
+ length : float
2506
+ The length of each quiver, default to 1.0, the unit is
2507
+ the same with the axes
2515
2508
2516
- *pivot*: [ 'tail' | 'middle' | 'tip' ]
2517
- The part of the arrow that is at the grid point; the arrow
2518
- rotates about this point, hence the name *pivot*.
2519
- Default is 'tail'
2509
+ arrow_length_ratio : float
2510
+ The ratio of the arrow head with respect to the quiver,
2511
+ default to 0.3
2520
2512
2521
- *normalize*: bool
2522
- When True, all of the arrows will be the same length. This
2523
- defaults to False, where the arrows will be different lengths
2524
- depending on the values of u,v,w.
2513
+ pivot : {'tail', 'middle', 'tip'}
2514
+ The part of the arrow that is at the grid point; the arrow
2515
+ rotates about this point, hence the name *pivot*.
2516
+ Default is 'tail'
2525
2517
2526
- Any additional keyword arguments are delegated to
2527
- :class:`~matplotlib.collections.LineCollection`
2518
+ normalize : bool
2519
+ When True, all of the arrows will be the same length. This
2520
+ defaults to False, where the arrows will be different lengths
2521
+ depending on the values of u,v,w.
2528
2522
2523
+ **kwargs
2524
+ Any additional keyword arguments are delegated to
2525
+ :class:`~matplotlib.collections.LineCollection`
2529
2526
"""
2530
2527
def calc_arrow (uvw , angle = 15 ):
2531
2528
"""
0 commit comments