8000 Merge pull request #30077 from anntzer/dfi · QuLogic/matplotlib@0007628 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0007628

Browse files
authored
Merge pull request matplotlib#30077 from anntzer/dfi
Fix deprecated attribute name in backend_pdf.
2 parents f4346b5 + c201308 commit 0007628

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
``PdfFile.fontNames``, ``PdfFile.dviFontNames``, ``PdfFile.type1Descriptors``
2-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1+
``PdfFile.fontNames``, ``PdfFile.dviFontInfo``, ``PdfFile.type1Descriptors``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
... are deprecated with no replacement.

lib/matplotlib/backends/backend_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ def __init__(self, filename, metadata=None):
766766
self.writeObject(self.resourceObject, resources)
767767

768768
fontNames = _api.deprecated("3.11")(property(lambda self: self._fontNames))
769-
dviFontNames = _api.deprecated("3.11")(property(lambda self: self._dviFontNames))
769+
dviFontInfo = _api.deprecated("3.11")(property(lambda self: self._dviFontInfo))
770770
type1Descriptors = _api.deprecated("3.11")(
771771
property(lambda self: self._type1Descriptors))
772772

0 commit comments

Comments
 (0)
0