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 b2bebbb

Browse filesBrowse files
committed
MNT: remove unsetting display
This can cause inkscape to segfault.
1 parent 6c04a60 commit b2bebbb
Copy full SHA for b2bebbb

File tree

Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed

‎lib/matplotlib/testing/compare.py

Copy file name to clipboardExpand all lines: lib/matplotlib/testing/compare.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,6 @@ def __call__(self, orig, dest):
153153
stream.close()
154154
env = {
155155
**os.environ,
156-
# If one passes e.g. a png file to Inkscape, it will try to
157-
# query the user for conversion options via a GUI (even with
158-
# `--without-gui`). Unsetting `DISPLAY` prevents this (and
159-
# causes GTK to crash and Inkscape to terminate, but that'll
160-
# just be reported as a regular exception below).
161-
"DISPLAY": "",
162156
# Do not load any user options.
163157
"INKSCAPE_PROFILE_DIR": os.devnull,
164158
}

0 commit comments

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