File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def _create_qApp():
132
132
# check for DISPLAY env variable on X11 build of Qt
133
133
if hasattr (QtGui , "QX11Info" ):
134
134
display = os .environ .get ('DISPLAY' )
135
- if display is None or not re .search (':\d' , display ):
135
+ if display is None or not re .search (r ':\d' , display ):
136
136
raise RuntimeError ('Invalid DISPLAY variable' )
137
137
138
138
qApp = QtWidgets .QApplication ([str (" " )])
Original file line number Diff line number Diff line change @@ -2214,7 +2214,7 @@ def pad(s, l):
2214
2214
2215
2215
commands = get_plot_commands ()
2216
2216
2217
- first_sentence = re .compile ("(?:\s*).+?\.(?:\s+|$)" , flags = re .DOTALL )
2217
+ first_sentence = re .compile (r "(?:\s*).+?\.(?:\s+|$)" , flags = re .DOTALL )
2218
2218
2219
2219
# Collect the first sentence of the docstring for all of the
2220
2220
# plotting commands.
You can’t perform that action at this time.
0 commit comments