Skip to content

Commit f3e5576

Browse files
committed
Merge pull request #6442 from matthew-brett/dynamic-tkagg
MRG: loading TCL / Tk symbols dynamically
2 parents 8bab42d + aa275c6 commit f3e5576

File tree

5 files changed

+390
-328
lines changed

5 files changed

+390
-328
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff 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

appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ install:
8888
test_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?

0 commit comments

Comments
 (0)