@@ -2618,14 +2618,13 @@ def set_xmargin(self, m):
2618
2618
"""
2619
2619
Set padding of X data limits prior to autoscaling.
2620
2620
2621
- *m* times the data interval will be added to each
2622
- end of that interval before it is used in autoscaling.
2623
- For example, if your data is in the range [0, 2], a factor of
2624
- ``m = 0.1`` will result in a range [-0.2, 2.2].
2621
+ *m* times the data interval will be added to each end of that interval
2622
+ before it is used in autoscaling. If *m* is negative, this will clip
2623
+ the data range instead of expanding it.
2625
2624
2626
- Negative values -0.5 < m < 0 will result in clipping of the data range.
2627
- I.e. for a data range [0 , 2], a factor of ``m = -0.1`` will result in
2628
- a range [0.2, 1.8].
2625
+ For example, if your data is in the range [0, 2], a margin of 0.1 will
2626
+ result in a range [-0.2 , 2.2]; a margin of -0.1 will result in a range
2627
+ of [0.2, 1.8].
2629
2628
2630
2629
Parameters
2631
2630
----------
@@ -2641,14 +2640,13 @@ def set_ymargin(self, m):
2641
2640
"""
2642
2641
Set padding of Y data limits prior to autoscaling.
2643
2642
2644
- *m* times the data interval will be added to each
2645
- end of that interval before it is used in autoscaling.
2646
- For example, if your data is in the range [0, 2], a factor of
2647
- ``m = 0.1`` will result in a range [-0.2, 2.2].
2643
+ *m* times the data interval will be added to each end of that interval
2644
+ before it is used in autoscaling. If *m* is negative, this will clip
2645
+ the data range instead of expanding it.
2648
2646
2649
- Negative values -0.5 < m < 0 will result in clipping of the data range.
2650
- I.e. for a data range [0 , 2], a factor of ``m = -0.1`` will result in
2651
- a range [0.2, 1.8].
2647
+ For example, if your data is in the range [0, 2], a margin of 0.1 will
2648
+ result in a range [-0.2 , 2.2]; a margin of -0.1 will result in a range
2649
+ of [0.2, 1.8].
2652
2650
2653
2651
Parameters
2654
2652
----------
0 commit comments