@@ -2540,27 +2540,21 @@ def in_axes(self, mouseevent):
2540
2540
return self .patch .contains (mouseevent )[0 ]
2541
2541
2542
2542
def get_autoscale_on (self ):
2543
- """
2544
- Get whether autoscaling is applied for both axes on plot commands
2545
- """
2543
+ """Return True if each axis is autoscaled, False otherwise."""
2546
2544
return self ._autoscaleXon and self ._autoscaleYon
2547
2545
2548
2546
def get_autoscalex_on (self ):
2549
- """
2550
- Get whether autoscaling for the x-axis is applied on plot commands
2551
- """
2547
+ """Return whether the x-axis is autoscaled."""
2552
2548
return self ._autoscaleXon
2553
2549
2554
2550
def get_autoscaley_on (self ):
2555
- """
2556
- Get whether autoscaling for the y-axis is applied on plot commands
2557
- """
2551
+ """Return whether the y-axis is autoscaled."""
2558
2552
return self ._autoscaleYon
2559
2553
2560
2554
def set_autoscale_on (self , b ):
2561
2555
"""
2562
- Set whether autoscaling is applied to axes on the next draw or call to
2563
- `.Axes.autoscale_view`.
2556
+ Set whether autoscaling is applied to each axis on the next draw or
2557
+ call to `.Axes.autoscale_view`.
2564
2558
2565
2559
Parameters
2566
2560
----------
@@ -2571,8 +2565,8 @@ def set_autoscale_on(self, b):
2571
2565
2572
2566
def set_autoscalex_on (self , b ):
2573
2567
"""
2574
- Set whether autoscaling for the x-axis is applied to axes on the next
2575
- draw or call to `.Axes.autoscale_view`.
2568
+ Set whether the x-axis is autoscaled on the next draw or call to
2569
+ `.Axes.autoscale_view`.
2576
2570
2577
2571
Parameters
2578
2572
----------
@@ -2582,8 +2576,8 @@ def set_autoscalex_on(self, b):
2582
2576
2583
2577
def set_autoscaley_on (self , b ):
2584
2578
"""
2585
- Set whether autoscaling for the y-axis is applied to axes on the next
2586
- draw or call to `.Axes.autoscale_view`.
2579
+ Set whether the y-axis is autoscaled on the next draw or call to
2580
+ `.Axes.autoscale_view`.
2587
2581
2588
2582
Parameters
2589
2583
----------
0 commit comments