Skip to content

Commit

Permalink
Merge pull request scipy#183 from scipy/ignore_mpl_ax_text
Browse files Browse the repository at this point in the history
MAINT: add MPL's ax.text to the list of known stopwords
  • Loading branch information
ev-br authored Feb 1, 2025
2 parents 35764f3 + 5c00c5f commit b9ba944
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [

[project.optional-dependencies]
test = [
"scipy",
"scipy <= 1.14.1", # black-list 1.5.1 ?
"matplotlib"
]

Expand Down
3 changes: 2 additions & 1 deletion scipy_doctest/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ def __init__(self, *, # DTChecker configuration
'.bar(', '.title', '.ylabel', '.xlabel', 'set_ylim', 'set_xlim',
'# reformatted', '.set_xlabel(', '.set_ylabel(', '.set_zlabel(',
'.set(xlim=', '.set(ylim=', '.set(xlabel=', '.set(ylabel=', '.xlim(',
'ax.set('}
'ax.set(', '.text(',
}
self.stopwords = stopwords

if pseudocode is None:
Expand Down

0 comments on commit b9ba944

Please sign in to comment.