0753a5669ddeb8e544165a8f52dd94ce776610a2,lib/mpl_toolkits/mplot3d/axes3d.py,Axes3D,set_xlim3d,#Axes3D#Any#Any#Any#Any#,590

Before Change


            left, right = left

        self._process_unit_info(xdata=(left, right))
        if left is not None:
            left = self.convert_xunits(left)
        if right is not None:
            right = self.convert_xunits(right)

        old_left, old_right = self.get_xlim()
        if left is None:
            left = old_left
        if right is None:
            right = old_right

        if left == right:
            warnings.warn(("Attempting to set identical left==right results\n"
                     "in singular transformations; automatically expanding.\n"
                     "left=%s, right=%s") % (left, right))
        left, right = mtransforms.nonsingular(left, right, increasing=False)
        left, right = self.xaxis.limit_range_for_scale(left, right)
        self.xy_viewLim.intervalx = (left, right)

        if auto is not None:
            self._autoscaleXon = bool(auto)

After Change


            left, right = left

        self._process_unit_info(xdata=(left, right))
        left = self._validate_axis_limits(left, self.convert_xunits)
        right = self._validate_axis_limits(right, self.convert_xunits)

        old_left, old_right = self.get_xlim()
        if left is None:
            left = old_left
        if right is None:
            right = old_right

        if left == right:
            warnings.warn(("Attempting to set identical left==right results\n"
                     "in singular transformations; automatically expanding.\n"
                     "left=%s, right=%s") % (left, right))
        left, right = mtransforms.nonsingular(left, right, increasing=False)
        left, right = self.xaxis.limit_range_for_scale(left, right)
        self.xy_viewLim.intervalx = (left, right)

        if auto is not None:
            self._autoscaleXon = bool(auto)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

Instances


Project Name: matplotlib/matplotlib
Commit Name: 0753a5669ddeb8e544165a8f52dd94ce776610a2
Time: 2017-04-12
Author: vedant15114@iiitd.ac.in
File Name: lib/mpl_toolkits/mplot3d/axes3d.py
Class Name: Axes3D
Method Name: set_xlim3d


Project Name: matplotlib/matplotlib
Commit Name: 0753a5669ddeb8e544165a8f52dd94ce776610a2
Time: 2017-04-12
Author: vedant15114@iiitd.ac.in
File Name: lib/mpl_toolkits/mplot3d/axes3d.py
Class Name: Axes3D
Method Name: set_xlim3d


Project Name: matplotlib/matplotlib
Commit Name: 0753a5669ddeb8e544165a8f52dd94ce776610a2
Time: 2017-04-12
Author: vedant15114@iiitd.ac.in
File Name: lib/mpl_toolkits/mplot3d/axes3d.py
Class Name: Axes3D
Method Name: set_ylim3d


Project Name: matplotlib/matplotlib
Commit Name: 0753a5669ddeb8e544165a8f52dd94ce776610a2
Time: 2017-04-12
Author: vedant15114@iiitd.ac.in
File Name: lib/mpl_toolkits/mplot3d/axes3d.py
Class Name: Axes3D
Method Name: set_zlim3d