Show More
@@ -40,6 +40,8 backends = {'tk': 'TkAgg', | |||||
40 | # most part it's just a reverse of the above dict, but we also need to add a |
|
40 | # most part it's just a reverse of the above dict, but we also need to add a | |
41 | # few others that map to the same GUI manually: |
|
41 | # few others that map to the same GUI manually: | |
42 | backend2gui = dict(zip(backends.values(), backends.keys())) |
|
42 | backend2gui = dict(zip(backends.values(), backends.keys())) | |
|
43 | # Our tests expect backend2gui to just return 'qt' | |||
|
44 | backend2gui['Qt4Agg'] = 'qt' | |||
43 | # In the reverse mapping, there are a few extra valid matplotlib backends that |
|
45 | # In the reverse mapping, there are a few extra valid matplotlib backends that | |
44 | # map to the same GUI support |
|
46 | # map to the same GUI support | |
45 | backend2gui['GTK'] = backend2gui['GTKCairo'] = 'gtk' |
|
47 | backend2gui['GTK'] = backend2gui['GTKCairo'] = 'gtk' |
General Comments 0
You need to be logged in to leave comments.
Login now