@@ -561,11 +561,64 @@ class _AxesBase(martist.Artist):
561
561
562
562
_subclass_uses_cla = False
563
563
564
- transData = None # Transform object
565
- """
566
- a transformation object that converts data coordinates into a
567
- coordinate system used to display data on graph axes
568
- """
564
+ @property
565
+ def transAxes (self ):
566
+ """
567
+ Transform object that represents a coordinate system relative
568
+ to the axes of a plot. It provides a mapping from coordinates specified
569
+ as fractions of the axes' dimensions. The origin of this coordinate
570
+ system (0, 0) is located at the bottom-left corner of the axes, while the
571
+ top-right corner is represented by the coordinates (1, 1).
572
+ """
573
+ return self ._transAxes
574
+
575
+ @transAxes .setter
576
+ def transAxes (self , value ):
577
+ self ._transAxes = value
578
+
579
+ @property
580
+ def transScale (self ):
581
+ """
582
+ Transform object that represents the scaling transformation for
583
+ the data coordinates within an axes. It is responsible for converting
584
+ the data coordinates to scaled coordinates used for rendering the plot.
585
+ The transformation incorporates the scaling applied to the data
586
+ along both the x-axis and the y-axis.
587
+ """
588
+ return self ._transScale
589
+
590
+
8000
@transScale .setter
591
+ def transScale (self , value ):
592
+ self ._transScale = value
593
+
594
+ @property
595
+ def transLimits (self ):
596
+ """
597
+ Transform object that represents the transformation from data
598
+ coordinates to the coordinate system used for drawing within the axes
599
+ limits. It maps the range of data coordinates to the corresponding range
600
+ of the axes limits, taking into account any data clipping that might occur.
601
+ """
602
+ return self ._transLimits
603
+
604
+ @transLimits .setter
605
+ def transLimits (self , value ):
606
+ self ._transLimits = value
607
+
608
+ @property
609
+ def transData (self ):
610
+ """
611
+ Transform object that represents the transformation from data
612
+ coordinates to the coordinate system used for drawing within the axes.
613
+ It converts the data coordinates of a plot to the corresponding coordinate
614
+ values in the drawing space, enabling proper rendering of plot elements
615
+ relative to the axes and the figure.
616
+ """
617
+ return self ._transData
618
+
619
+ @transData .setter
620
+ def transData (self , value ):
621
+ self ._transData = value
569
622
570
623
@property
571
624
def _axis_map (self ):
0 commit comments