Skip to content

Commit

Permalink
Fix testskeleton on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Feb 13, 2024
1 parent 8e698ec commit 9f1ac5c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def is_osx_catalina_or_later():
_environ['DISPLAY']=':0'
_lacks_display_var=False
_noninteractive = _has_agg_backend or _lacks_display_var
if 'SIMPLEHISTS_SILENT_PLOTFAIL' in _environ:
_noninteractive = True

if (not _noninteractive) and matplotlib:
import SimpleHists.plotutils as plotutils
Expand Down

0 comments on commit 9f1ac5c

Please sign in to comment.