Ë OL i®ãóf—dZddlmZmZmZmZmZmZddlm Z d„Z Gd„de «Z Gd„de «Z y ) zoConfigurable for configuring the IPython inline backend This module does not import anything from matplotlib. é)ÚBoolÚDictÚInstanceÚSetÚ TraitErrorÚUnicode)ÚSingletonConfigurablecó<—d} ddlm}d}|S#t$rY|SwxYw)zTest if PIL/Pillow is availableFr)ÚImageT)ÚPILr Ú ImportError)Úoutr s ú^/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/matplotlib_inline/config.pyÚ pil_availablers4€à €Cð Ýàˆð €Jøô ò Ø Ø €Jð ús „Ž šcó —eZdZy)ÚInlineBackendConfigN)Ú__name__Ú __module__Ú __qualname__©órrrs„ØrrcóB—eZdZdZeid¬«j d¬«Zedhd¬«j d¬«Zd„Z d „Z e d ¬«j d¬«Z d „Z ed d id¬«j d¬«Ze Zedd¬«j d¬«Zedd¬«Zy)Ú InlineBackendz7An object to store configuration of the inline backend.a™Dict to manage matplotlib configuration defaults in the inline backend. As of v0.1.4 IPython/Jupyter do not override defaults out of the box, but third-party tools may use it to manage rc data. To change personal defaults for matplotlib, use matplotlib's configuration tools, or customize this class in your `ipython_config.py` file for IPython/Jupyter-specific usage.)ÚhelpT)ÚconfigÚpngzYA set of figure formats to enable: 'png', 'retina', 'jpeg', 'svg', 'pdf'.cóz—|j/ddlm}||j|jfi|j¤Žyy)Nr)Úselect_figure_formats)ÚshellÚIPython.core.pylabtoolsrÚfigure_formatsÚprint_figure_kwargs)Úselfrs rÚ_update_figure_formattersz'InlineBackend._update_figure_formatters7s9€Ø :‰:Ð !Ý Eá !Ø— ‘ ˜D×/Ñ/ñ Ø37×3KÑ3Kó ð "rcó^—d|vsd|vrt«s td«‚|j«y)NÚjpgÚjpegz#Requires PIL/Pillow for JPG figures)rrr$©r#ÚnameÚoldÚnews rÚ_figure_formats_changedz%InlineBackend._figure_formats_changed?s,€Ø C‰<˜6 S™=Ü ”?Ü Ð!FÓGÐGØ ×&Ñ&Õ(rznThe figure format to enable (deprecated use `figure_formats` instead)có—|r |h|_yy)N)r!r(s rÚ_figure_format_changedz$InlineBackend._figure_format_changedJs€Ù Ø#& %ˆDÕ ð rÚ bbox_inchesÚtightzÄExtra kwargs to be passed to fig.canvas.print_figure. Logical examples include: bbox_inches, pil_kwargs, etc. In addition, see the docstrings of `set_matplotlib_formats`. aEClose all figures at the end of each cell. When True, ensures that each cell starts with no active figures, but it also means that one must keep track of references in order to edit or redraw figures in subsequent cells. This mode is ideal for the notebook, where residual plots from other cells might be surprising. When False, one must call figure() to create new figures. This means that gcf() and getfigs() can reference figures created in other cells, and the active figure can continue to be edited with pylab/pyplot methods that reference the current active figure. This mode facilitates iterative editing of figures, and behaves most consistently with other matplotlib backends, but figure barriers between cells must be explicit. z1IPython.core.interactiveshell.InteractiveShellABC)Ú allow_noneN)rrrÚ__doc__rÚtagÚrcrr!r$r,rÚ figure_formatr.r"Ú_print_figure_kwargs_changedrÚ close_figuresrrrrrrrsé„ÙAñ Ø ð+ô ÷ c€cÓðñØ ˆð3ô÷ c€cÓð ò ò)ñ ðJô÷ c€cÓðò (ñØ ˜Ð ð ô÷ c€cÓðð$=Ð áØ ð ô÷" c€cÓð#ñ& Ø;Èô ErrN) r2Ú traitletsrrrrrrÚtraitlets.config.configurabler rrrrrrúr:s7ðñ÷E×DÝ?ò ô Ð/ô ôNÐ'õNr