Skip to content

Commit 10c03aa

Browse files
committed
Change variable name
1 parent 65181c0 commit 10c03aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pytest_mpl/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,9 +696,9 @@ def save_figure(self, item, fig, filename):
696696
# The deterministic option should only matter for hash-based tests,
697697
# so we first check if a hash library is being used (and not skipped)
698698
skip_hash = compare.kwargs.get('skip_hash', False)
699-
using_hash_library = (self.hash_library or compare.kwargs.get('hash_library', None)) and not skip_hash
699+
use_hash_library = (self.hash_library or compare.kwargs.get('hash_library', None)) and not skip_hash
700700

701-
if using_hash_library:
701+
if use_hash_library:
702702

703703
if ext == 'png':
704704
if 'metadata' not in savefig_kwargs or 'Software' not in savefig_kwargs['metadata']:

0 commit comments

Comments
 (0)