| Server IP : 35.80.110.71 / Your IP : 216.73.217.120 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/matplotlib/tests/__pycache__/ |
Upload File : |
�
G8�c� � � � d dl Z d dlmZ d dlZd dlmZ d dlZ ej d� Z ej d� ej d� d� Z y)� N)�Path)�TemporaryDirectory�nbformat� nbconvert� ipykernelc �F � t t � j dz } t � 5 }t |d� }t j
ddddddd t
|� t
| � g i t j �d
|i��� |j � 5 }t j |t j � }d d d � d d d � j D ��cg c]* }|j dg � D ] }|j d
k( r|�� �, }}}|rJ �y # 1 sw Y �WxY w# 1 sw Y �[xY wc c}}w )Nztest_nbagg_01.ipynbz out.ipynb�jupyterr z--to�notebookz --executez!--ExecutePreprocessor.timeout=500z--output�
IPYTHONDIR)�env�outputs�error)r �__file__�parentr �
subprocess�
check_call�str�os�environ�openr �read�current_nbformat�cells�get�output_type)�nb_path�tmpdir�out_path�out�nb�cell�output�errorss �E/usr/lib/python3/dist-packages/matplotlib/tests/test_backend_nbagg.py�
test_ipynbr% s � ��8�n�#�#�&;�;�G� � � ?�����,�����
��V�Z�
�=�
��X���G��
6� 5�2�:�:�4�|�V�4� 6�
�]�]�_� ?�����s�H�$=�$=�>�B� ?�?� "$��� 0������B�8O� 0�f��#�#�w�.� � 0�f� 0�F� 0���:�v� ?� ?��?� ?��0s* �A#D�
%D�/D�/D�D �
D�D)
r �pathlibr r �tempfiler �pytest�importorskipr r% � � r$ �<module>r, sK �� � � � '�
��6���z�*�� �� � �K� � �� � �K� �
r+