8000 Merge pull request #30066 from dstansby/remove-depr · matplotlib/matplotlib@3faa9f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3faa9f8

Browse files
authored
Merge pull request #30066 from dstansby/remove-depr
Remove get_bbox_header
2 parents 759765c + e1cf428 commit 3faa9f8

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``backend_ps.get_bbox_header``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
... is removed, as it is considered an internal helper.

lib/matplotlib/backends/backend_ps.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,15 +1362,6 @@ def xpdf_distill(tmpfile, eps=False, ptype='letter', bbox=None, rotated=False):
13621362
pstoeps(tmpfile)
13631363

13641364

1365-
@_api.deprecated("3.9")
1366-
def get_bbox_header(lbrt, rotated=False):
1367-
"""
1368-
Return a postscript header string for the given bbox lbrt=(l, b, r, t).
1369-
Optionally, return rotate command.
1370-
"""
1371-
return _get_bbox_header(lbrt), (_get_rotate_command(lbrt) if rotated else "")
1372-
1373-
13741365
def _get_bbox_header(lbrt):
13751366
"""Return a PostScript header string for bounding box *lbrt*=(l, b, r, t)."""
13761367
l, b, r, t = lbrt

0 commit comments

Comments
 (0)
0