Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commitc201308

Browse files
committed
Fix deprecated attribute name in backend_pdf.
The attribute was called dviFontInfo (now with a leading underscore),not dviFontNames.
1 parentf4346b5 commitc201308

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(lambdaself:self._fontNames))
769-
dviFontNames=_api.deprecated("3.11")(property(lambdaself:self._dviFontNames))
769+
dviFontInfo=_api.deprecated("3.11")(property(lambdaself:self._dviFontInfo))
770770
type1Descriptors=_api.deprecated("3.11")(
771771
property(lambdaself:self._type1Descriptors))
772772

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp