Skip to content

'pivot' property not recognised in quiver #3907

Closed
@szymk

Description

@szymk

When I try to set the 'pivot' kw argument to any value, the result is:

Traceback (most recent call last):
  File "plotInpTrajOut_LocBag.py", line 265, in <module>
    ax.quiver(x,y,z,u,v,w,length=0.2,color=colors[guid_nb],pivot='tail')
  File "/usr/lib/python2.7/dist-packages/mpl_toolkits/mplot3d/axes3d.py", line 2614, in quiver
    linec = art3d.Line3DCollection(lines, *args[argi:], **kwargs)
  File "/usr/lib/python2.7/dist-packages/mpl_toolkits/mplot3d/art3d.py", line 171, in __init__
    LineCollection.__init__(self, segments, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/collections.py", line 1060, in __init__
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/collections.py", line 132, in __init__
    self.update(kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/artist.py", line 757, in update
    raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property pivot

I'm using matplotlib 1.4.2-3 under debian
BTW, it seems to me that the documentation on possible 'pivot' values is not consistent.

Hope it helps!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions