Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e951bd6 commit 4c3bf8eCopy full SHA for 4c3bf8e
1 file changed
examples/misc/svg_filter_pie.py
@@ -42,8 +42,8 @@
42
43
44
# save
45
-from StringIO import StringIO
46
-f = StringIO()
+from io import BytesIO
+f = BytesIO()
47
plt.savefig(f, format="svg")
48
49
import xml.etree.cElementTree as ET
0 commit comments