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 a2754f6

Browse filesBrowse files
committed
MNT: do not try to import xml.etree.cElementTree
As of py33 the fastest available version is imported and in py39 the alias of `xml.etree.cElementTree` for `xml.etree.ElementTree` will be removed.
1 parent d481a16 commit a2754f6
Copy full SHA for a2754f6

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+2
-2
lines changed

‎examples/misc/svg_filter_line.py

Copy file name to clipboardExpand all lines: examples/misc/svg_filter_line.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
plt.savefig(f, format="svg")
5858

5959

60-
import xml.etree.cElementTree as ET
60+
import xml.etree.ElementTree as ET
6161

6262
# filter definition for a gaussian blur
6363
filter_def = """

‎examples/misc/svg_filter_pie.py

Copy file name to clipboardExpand all lines: examples/misc/svg_filter_pie.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
f = BytesIO()
4747
plt.savefig(f, format="svg")
4848

49-
import xml.etree.cElementTree as ET
49+
import xml.etree.ElementTree as ET
5050

5151

5252
# filter definition for shadow using a gaussian blur

0 commit comments

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