FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

#22338 · NoyHanan/matplotlib@ea98463 · GitHub

Repository navigation

Commit ea98463

Browse files
committed
1 parent 21ac1b0 commit ea98463

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/matplotlib/tests/test_rcparams.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def test_deprecation(monkeypatch):
596596
'(0.9, .7)'
597597
])
598598
def test_rcparams_legend_loc(value):
599+
# rcParams['legend.loc'] should allow any of the following formats.
600+
# if any of these are not allowed, an exception will be raised
601+
# test for gh issue #22338
599602
mpl.rcParams['legend.loc'] = value
600-
# match_str = f"{value} is not a valid value for legend.loc;"
601-
# with pytest.raises(ValueError, match=re.escape(match_str)):
602-
# mpl.RcParams({'legend.loc': value})

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL