Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e1cf428

Browse filesBrowse files
committed
Remove get_bbox_header
1 parent 759765c commit e1cf428
Copy full SHA for e1cf428

File tree

2 files changed

+4
-9
lines changed
Filter options

2 files changed

+4
-9
lines changed
+4Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_ps.py
-9Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.