| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 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/backends/__pycache__/ |
Upload File : |
�
G8�cW � �D � d dl Zd dlmZ ddlmZ d dlmZ G d� d� Zy)� N)�cbook� )�RendererAgg)�process_figure_for_rasterizingc �. � e Zd ZdZ dd�Zd� Zd� Zd� Zy)�MixedModeRenderera&
A helper class to implement a renderer that switches between
vector and raster drawing. An example may be a PDF writer, where
most things are drawn with PDF vector commands, but some very
complex objects, such as quad meshes, are rasterised and then
output as images.
Nc � � |�t }|| _ || _ || _ || _ || _ d| _ || _ |j | _ || _ || _
y)a%
Parameters
----------
figure : `matplotlib.figure.Figure`
The figure instance.
width : scalar
The width of the canvas in logical units
height : scalar
The height of the canvas in logical units
dpi : float
The dpi of the canvas
vector_renderer : `matplotlib.backend_bases.RendererBase`
An instance of a subclass of
`~matplotlib.backend_bases.RendererBase` that will be used for the
vector drawing.
raster_renderer_class : `matplotlib.backend_bases.RendererBase`
The renderer class to use for the raster drawing. If not provided,
this will use the Agg backend (which is currently the only viable
option anyway.)
N)r �_raster_renderer_class�_width�_height�dpi�_vector_renderer�_raster_renderer�figure�_figdpi�_bbox_inches_restore� _renderer)�selfr �width�heightr
�vector_renderer�raster_renderer_class�bbox_inches_restores �C/usr/lib/python3/dist-packages/matplotlib/backends/backend_mixed.py�__init__zMixedModeRenderer.__init__ s` � �0 !�(�$/�!�&;��#���������� /��� $���
����z�z���$7��!�(��� c �. � t | j |� S )N)�getattrr )r �attrs r �__getattr__zMixedModeRenderer.__getattr__>