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

Appearance settings

Commit 1097e3f

Browse filesBrowse files
committed
Merge pull request #4757 from jenshnielsen/pdfbytesiofix
FIX: Use BytesIO from io.
2 parents 60e21f0 + 582986b commit 1097e3f
Copy full SHA for 1097e3f

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/backends/backend_pdf.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_pdf.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
import time
1818
import warnings
1919
import zlib
20+
from io import BytesIO
2021

2122
import numpy as np
2223
from matplotlib.externals.six import unichr
23-
from matplotlib.externals.six import BytesIO
24+
2425

2526
from datetime import datetime
2627
from math import ceil, cos, floor, pi, sin

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.