title: Mathplotlib update 3dplot
body: <p>I'm trying to use the methods 'set_data' and 'set_3d_properties' for a matplotlib.pyplot.plot object. </p>
  
  <pre><code>import matplotlib.pyplot as plt
  import mpl_toolkits.mplot3d.axes3d as p3
  import matplotlib.animation as animation
  
  class animationObj(object):
  
  def __init__(self):
      self.fig= plt.figure()
      self.ax = self.fig.add_subplot(111, projection='3d')
      self.plot = []
      self.plot.append(self.ax.plot([0], [0], [0], 'bo', markersize=10)[0])
      self.ani = animation.FuncAnimation(self.fig, self, frames=range(0,10), interval=50, repeat_delay=1000)
  
  def show(self):
      return plt.show()
  
  def __call__(self, i):
  
      self.plot[0].set_data([x[i]], [y[i]])
      self.plot[0].set_3d_properties([z[i]], 'z')
  
      return self.plot[0]
  </code></pre>
  
  <p>I have made use of the following example: <a href="http://matplotlib.org/1.4.2/examples/animation/simple_3danim.html" rel="nofollow">http://matplotlib.org/1.4.2/examples/animation/simple_3danim.html</a></p>
  
  <p>But it seems that the set_data and set_3d_properties are not working correctly. Does anyone know what I do wrong?</p>