Skip to content

Commit 882b68d

Browse files
authored
case insensitive backend matching (#122)
1 parent 159bbc9 commit 882b68d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mplotutils/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def restore_backend(backend):
4040
def _set_backend(backend):
4141

4242
# WebAgg requires tornado, but this is only checked at runtime
43-
if backend == "WebAgg":
43+
if backend.lower() == "webagg":
4444
try:
4545
import tornado # noqa: F401
4646
except ImportError:

0 commit comments

Comments
 (0)