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

Skip to content

Commit 97cb414

Browse files
committed
Implement review comments of @jkseppan
1 parent 3496bd4 commit 97cb414

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/matplotlib/backends/backend_pgf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ def _cleanup_all():
10111011
atexit.register(_cleanup_all)
10121012

10131013

1014-
class PdfPages(object):
1014+
class PdfPages:
10151015
"""
10161016
A multi-page PDF file using the pgf backend
10171017
@@ -1081,7 +1081,7 @@ def _write_header(self, width_inches, height_inches):
10811081
'producer', 'trapped'
10821082
}
10831083
infoDict = {
1084-
'creator': 'matplotlib %s, http://matplotlib.org' % __version__,
1084+
'creator': 'matplotlib %s, https://matplotlib.org' % __version__,
10851085
'producer': 'matplotlib pgf backend %s' % __version__,
10861086
}
10871087
metadata = {k.lower(): v for k, v in self.metadata.items()}

lib/matplotlib/tests/test_backend_pgf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,6 @@ def test_luatex_version():
310310
assert parse_lualatex_version(v1) == (1, 0, 4)
311311
assert parse_lualatex_version(v2) == (0, 76, 0)
312312

313-
# just test if it is successfull
313+
# just test if it is successful
314314
version = get_lualatex_version()
315315
assert len(version) == 3

tutorials/text/pgf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
Multi-Page PDF Files
6161
====================
6262
63-
The pgf backend also supportes multipage pdf files using ``PdfPages``
63+
The pgf backend also supports multipage pdf files using ``PdfPages``
6464
6565
.. code-block:: python
6666

0 commit comments

Comments
 (0)