+
     ]i  c                   sR    ^ RI t^ RIHt ^ RIHt ^ RIHtH	t	H
t
 R tR tR tR tR# )    N)
MouseEvent)Line3DCollectionPoly3DCollection_all_points_on_planec                  s   \         P                  ! 4       p V P                  R R7      p^ Vn        ^ Vn        RVn        RVn        . ROpVP                  W"V4      pV P                  P                  4        VP                  4       pVP                  P                  V4      pR	 F  pWan        RVn        V P                  P                  4        \        ^4       Fn  p\        RV P                  .WWR3,          O5!  pVP                  V4      w  rV	RJ g   Q h\!        V
R,          4      ^8X  g   Q hV
R,          ^ ,          V8X  d   Kn  Q h	  K  	  R# )
3dZ
projectionTZbutton_press_event:NNNindNi)r             i   )ii)pltfigureadd_subplotZrollZelevazimZstalescatterZcanvasZ	draw_idleZget_offsetsZ	transDataZ	transformZranger   containsZlen)figaxZxZscatter_collectionZscatter_offsetZscatter_locationr   ZiZeventr   r   s              L/usr/lib64/python3.14/site-packages/mpl_toolkits/mplot3d/tests/test_art3d.py'test_scatter_3d_projection_conservationr      s*   
**,C	D	)BBGBGBGBHAA!,JJ (335N||--n= 

qA 3SZZ 8 0A 68E.77>MHt###s5z?a'''u:a=A%%%      c                  s   \         P                  ! . R	ORR7      \         P                  ! . R
ORR7      3.p \         P                  ! R R .RR7      \         P                  ! R R.RR7      \         P                  ! RR.RR7      .p\        P                  ! 4       pVP	                  RR7      pVP                  \        V 4      4       VP                  ! VRR/  \        P                  ! 4        R# )        Zfloat)Zdtype      ?r   r   ZvisibleFN)r   r   r   )r   r   r   )	npZfromiterr   r   r   Zadd_collectionr   r   draw)ZlcZpcr   r          r   test_zordered_errorr   0   s    ;;g6;;g68 
9B
++sCj
0
++sCj
0
++sCj
0
2B **,C	D	)B&r*+JJ"E"HHJr   c            	      s   \         P                  ! . RO. RO. RO. RO.4      p \        V P                  !  '       d   Q h\         P                  ! . RO. RO. RO. RO.4      p \        V P                  !  '       g   Q h\         P                  ! . RO. RO. RO^ ^ \         P                  ..4      p \        V P                  !  '       g   Q h\         P                  ! . RO. RO. RO.4      p \        V P                  !  '       g   Q h\         P                  ! . RO. RO. RO. RO.4      p \        V P                  !  '       g   Q h\         P                  ! . RO. R	O. R
O. RO. RO. RO.4      p \        V P                  !  '       g   Q h\         P                  ! . RO. RO. RO. RO. RO.4      p \        V P                  !  '       g   Q hR# )r    Nr    r    r    )r   r    r    )r    r   r    )r    r    r   )r    r	   r    )r    r
   r    )ir	   r    )r   r    )r   r   r    )r	   r    r    )r   r   r    )r   r	   r    )r   Zarrayr   ZTZnan)Zpointss    r   test_all_points_on_planer   ?   sU   XXy)Y	BCF#VXX.... XXy)Y	BCF**** XXy)YArvvGHF**** XXy)Y78F**** XXy)Y	BCF**** XXz:z )Y8 9F**** XXy)Y	9MNF****r   c                  s    Rp \        V .RRR7      p\        P                  ! 4       pVP                  RR7      pVP	                  V4       \        P
                  ! 4        R# )r    ZrT)Z
edgecolorsZshader   r   N)r   )r       r    )r   r   r    )r   r    r    )r   r   r   r   Zadd_collection3dr   )ZverticesZshaper   r   r   r   test_generate_normalsr    ^   sI    ;HhZCtDE
**,C	D	)BHHJr   )Znumpyr   Zmatplotlib.pyplotZpyplotr   Zmatplotlib.backend_basesr   Zmpl_toolkits.mplot3d.art3dr   r   r   r   r   r   r    ) r   r   <module>r!      s-      /  &F+>r   