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