File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ script:
123
123
# Travis VM to run out of memory (since so many copies of inkscape and
124
124
# ghostscript are running at the same time).
125
125
- |
126
+ echo Testing import of tkagg backend
127
+ MPLBACKEND="tkagg" python -c 'import matplotlib.pyplot as plt; print(plt.get_backend())'
126
128
echo Testing using $NPROC processes
127
129
echo The following args are passed to nose $NOSE_ARGS
128
130
if [[ $BUILD_DOCS == false ]]; then
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ install:
87
87
test_script :
88
88
# Now build the thing..
89
89
- ' %CMD_IN_ENV% python setup.py develop'
90
+ # Test import of tkagg backend
91
+ - python -c "import matplotlib as m; m.use('tkagg'); import matplotlib.pyplot as plt; print(plt.get_backend())"
90
92
# tests
91
93
- python tests.py
92
94
# remove to get around libpng issue?
You can’t perform that action at this time.
0 commit comments