`L idZdZy)cf ddl}y#t$r }tdj||d}~wwxYw)aKRaise ImportError with detailed error message if mpl is not installed. Plot utilities like any of the Display's plotting functions should lazily import matplotlib and call this helper before any computation. Parameters ---------- caller_name : str The name of the caller that requires matplotlib. NzP{} requires matplotlib. You can install matplotlib with `pip install matplotlib`) matplotlib ImportErrorformat) caller_nameres j/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/sklearn/utils/_optional_dependencies.pycheck_matplotlib_supportr s;  ''-vk':  s 0+0ch ddl}|S#t$r }tdj||d}~wwxYw)asRaise ImportError with detailed error message if pandas is not installed. Plot utilities like :func:`fetch_openml` should lazily import pandas and call this helper before any computation. Parameters ---------- caller_name : str The name of the caller that requires pandas. Returns ------- pandas The pandas package. rNz{} requires pandas.)pandasrr)rr rs r check_pandas_supportr s; L L/66{CD!KLs 1,1N)r r r rs (Lr