o
    li}                     @   sN   d dl Z d dlZd dlZd dlZd dlZejdddgdd Zdd Z	dS )	    Nbackendwebaggnbaggc                 C   s   t d | dkrt d ttj}tjdkrd|d< | |d< dd	|  d
 d d|  d }tjtj	d|g|d}|dksAJ d S )Ntornador   IPythonnt DISPLAY
MPLBACKENDz
import os;z$assert os.environ['MPLBACKEND'] == 'z';z!import matplotlib.pyplot as plt; z!print(plt.get_backend());assert 'z' == plt.get_backend().lower();z-c)envr   )
pytestimportorskipdictosenvironname
subprocesscallsys
executable)r   r   	test_coderet r   b/home/ubuntu/SoloSpeech/.venv/lib/python3.10/site-packages/matplotlib/tests/test_backend_webagg.pytest_webagg_fallback   s&   




r   c                  C   s   t jjj} | jd u sJ d S )N)
matplotlibbackendsbackend_webagg_coreFigureManagerWebAgg_toolbar2_class)fmr   r   r   test_webagg_core_no_toolbar   s   
r!   )
r   r   r   r   'matplotlib.backends.backend_webagg_corer   markparametrizer   r!   r   r   r   r   <module>   s    
