title: Change arrow style of matplotlib quiver function
body: <p>Is there a way to change the style of the arrows of the <a href="http://matplotlib.org/api/axes_api.html?highlight=quiver#matplotlib.axes.Axes.quiver" rel="nofollow noreferrer">matplotlib quiver function</a>?</p>
  
  <p>I tried passing the <code>arrowprops=dict()</code> kwarg to the function, but that seems to only work with <a href="http://matplotlib.org/users/annotations_guide.html" rel="nofollow noreferrer">annotate function</a>.</p>
  
  <p>In any case the arrow style I am looking for, does not seem to be included in matplotlib. I think they are called "half arrows". I can insert these arrows using UTF-8 characters, but the arrows can then not be customized and it is hard to get them aligned properly. Is there a better way to do this (Maybe with inserting a SVG symbol)?</p>
  
  <p><a href="https://i.stack.imgur.com/bWZcC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bWZcC.png" alt="enter image description here"></a></p>
  
  <p>The code of my solution above:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  import mplstereonet
  import matplotlib.image as image
  
  #UTF-8 characters don't seem to work in the normal pyplot backend
  plt.switch_backend("gtk3cairo")
  
  fig = plt.figure()
  ax = fig.add_subplot(111, projection='stereonet')
  
  arrows = [[120, 30, 120, 30, "sin"],
            [160, 50, 160, 50, "dex"]]
  
  for arrow in arrows:
      strike = arrow[0] - 90
      ax.plane(strike, arrow[1], color="#000000")
      ax.line(arrow[3], arrow[2], color="#ff0000")
  
      x, y = mplstereonet.line(arrow[3], arrow[2])
      ang = np.degrees(np.arctan2(x, y))[0] * (-1)
      gap = 0.08
      gap_x = gap * np.sin(ang)
      gap_y = gap * np.cos(ang)
  
      if arrow[4] == "dex":
          ax.text(x - gap_x, y - gap_y, "⇀", size=30, rotation=ang,
                  horizontalalignment="center", verticalalignment="center")
          ax.text(x + gap_x, y + gap_y, "↽", size=30, rotation=ang,
                  horizontalalignment="center", verticalalignment="center")
  
      elif arrow[4] == "sin":
          ax.text(x - gap_x, y - gap_y, "↼", size=30, rotation=ang,
                  horizontalalignment="center", verticalalignment="center")
          ax.text(x + gap_x, y + gap_y, "⇁", size=30, rotation=ang,
                  horizontalalignment="center", verticalalignment="center")
  
  plt.show()
  </code></pre>
  
  <p>Similar questions:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/2318288/how-to-use-custom-marker-with-plot">How to use custom marker with plot?</a></li>
  <li><a href="https://stackoverflow.com/questions/14324270/matplotlib-custom-marker-symbol">Matplotlib custom marker/symbol</a></li>
  </ul>