| 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/axes/__pycache__/ |
Upload File : |
�
G8�c� � �| � d dl Zd dl mZ d dlmZ d dlmZ G d� d� Z ej edd� Z e e� Z
y) � N)�cbook)�Axes)�SubplotSpecc �@ � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zy
)�SubplotBasez�
Base class for subplots, which are :class:`Axes` instances with
additional methods to facilitate generating and manipulating a set
of :class:`Axes` within a figure.
c � � | j j | |g d�fi |�� | j t j ||� � y)a�
Parameters
----------
fig : `matplotlib.figure.Figure`
*args : tuple (*nrows*, *ncols*, *index*) or int
The array of subplots in the figure has dimensions ``(nrows,
ncols)``, and *index* is the index of the subplot being created.
*index* starts at 1 in the upper left corner and increases to the
right.
If *nrows*, *ncols*, and *index* are all single digit numbers, then
*args* can be passed as a single 3-digit number (e.g. 234 for
(2, 3, 4)).
**kwargs
Keyword arguments are passed to the Axes (sub)class constructor.
)r r � r N)�_axes_class�__init__�set_subplotspecr �_from_subplot_args)�self�fig�args�kwargss �;/usr/lib/python3/dist-packages/matplotlib/axes/_subplots.pyr zSubplotBase.__init__ s>