Skip to content

Backport PR #17271 on branch v3.2.x (MNT: do not try to import xml.etree.cElementTree) #17272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/misc/svg_filter_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
plt.savefig(f, format="svg")


import xml.etree.cElementTree as ET
import xml.etree.ElementTree as ET

# filter definition for a gaussian blur
filter_def = """
Expand Down
2 changes: 1 addition & 1 deletion examples/misc/svg_filter_pie.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
f = BytesIO()
plt.savefig(f, format="svg")

import xml.etree.cElementTree as ET
import xml.etree.ElementTree as ET


# filter definition for shadow using a gaussian blur
Expand Down