@@ -2618,14 +2618,13 @@ def set_xmargin(self, m):
26182618 """
26192619 Set padding of X data limits prior to autoscaling.
26202620
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.
26252624
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].
26292628
26302629 Parameters
26312630 ----------
@@ -2641,14 +2640,13 @@ def set_ymargin(self, m):
26412640 """
26422641 Set padding of Y data limits prior to autoscaling.
26432642
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.
26482646
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].
26522650
26532651 Parameters
26542652 ----------
0 commit comments