Skip to content

Commit b9ba944

Browse files
authored
Merge pull request #183 from scipy/ignore_mpl_ax_text
MAINT: add MPL's ax.text to the list of known stopwords
2 parents 35764f3 + 5c00c5f commit b9ba944

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies = [
2525

2626
[project.optional-dependencies]
2727
test = [
28-
"scipy",
28+
"scipy <= 1.14.1", # black-list 1.5.1 ?
2929
"matplotlib"
3030
]
3131

scipy_doctest/impl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ def __init__(self, *, # DTChecker configuration
190190
'.bar(', '.title', '.ylabel', '.xlabel', 'set_ylim', 'set_xlim',
191191
'# reformatted', '.set_xlabel(', '.set_ylabel(', '.set_zlabel(',
192192
'.set(xlim=', '.set(ylim=', '.set(xlabel=', '.set(ylabel=', '.xlim(',
193-
'ax.set('}
193+
'ax.set(', '.text(',
194+
}
194195
self.stopwords = stopwords
195196

196197
if pseudocode is None:

0 commit comments

Comments
 (0)