Skip to content

'pivot' property not recognised in quiver #3907

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy