Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Try headless matplotlib for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Janis Gailis committed Apr 24, 2017
1 parent 586336b commit 388188a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/ops/test_plot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""
Tests for plotting operations
"""
# Enable matplotlilb to be used on headless environments for testing
import matplotlib
matplotlib.use('Agg')

import os
import sys
Expand Down

0 comments on commit 388188a

Please sign in to comment.