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

Skip to content

Commit 582986b

Browse files
committed
Use BytesIO from io.
Fix bad merge from 8fe495a
1 parent 60e21f0 commit 582986b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backends/backend_pdf.py

Lines 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)