Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7f9977

Browse files
committed
Cleanup old code in offsetbox.
1 parent 434ab34 commit d7f9977

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

lib/matplotlib/offsetbox.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,24 +1360,6 @@ def set_zoom(self, zoom):
13601360
def get_zoom(self):
13611361
return self._zoom
13621362

1363-
# def set_axes(self, axes):
1364-
# self.image.set_axes(axes)
1365-
# martist.Artist.set_axes(self, axes)
1366-
1367-
# def set_offset(self, xy):
1368-
# """
1369-
# Set the offset of the container.
1370-
#
1371-
# Parameters
1372-
# ----------
1373-
# xy : (float, float)
1374-
# The (x, y) coordinates of the offset in display units.
1375-
# """
1376-
# self._offset = xy
1377-
1378-
# self.offset_transform.clear()
1379-
# self.offset_transform.translate(xy[0], xy[1])
1380-
13811363
def get_offset(self):
13821364
"""Return offset of the container."""
13831365
return self._offset

0 commit comments

Comments
 (0)