title: Eliminate part of a circle outside certain limits in python matplotlib?
body: <p>I wrote this code for plot an image:</p>
  <pre><code>fig = plt.figure(figsize=(15,10))
  ax = fig.gca(projection='3d')
  for i in range(len(pos_eje_x)):
      ax.bar3d(pos_eje_x[i],pos_eje_y[i],z_altura[i], dx[i], dy[i], altura[i], alpha=1, color='w', linewidth=2)
  
  ax.scatter(200, 500, 500, color='r', marker='^', s=150)
  
  circle_1 = Circle((200, 500), 500*np.tan(np.deg2rad(60 / 2)), fill=False, clip_on=False)
  ax.add_patch(circle_1)
  art3d.pathpatch_2d_to_3d(circle_1, z=25, zdir=&quot;z&quot;)
  
  ax.autoscale()
  ax.set_zlim3d(0, 1000)
  ax.set_xlim3d(0, L)
  ax.set_ylim3d(0, L)
  ax.set_xlim(0, L)
  ax.set_ylim(0, L)
  ax.set_zlim(0, 1000)
  ax.set_xlabel('X')
  ax.set_ylabel('Y')
  ax.set_zlabel('Z')
  
  plt.title('Map 3D')
  ax.view_init(elev=30., azim=-35)
  </code></pre>
  <p>Here is my output:</p>
  <p><img src="https://i.stack.imgur.com/5FyvH.png" alt="Plot 3d" /></p>
  <p>How can I remove the rest of the circle that goes out of bounds?</p>