File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,8 @@ script:
148148 # The number of processes is hardcoded, because using too many causes the
149149 # Travis VM to run out of memory (since so many copies of inkscape and
150150 # ghostscript are running at the same time).
151+
152+ # Load in the new toolbar rc file for tests
151153 - |
152154 if [[ $USENEWTOOLMANAGER == true ]]; then
153155 cp .travis/toolmgr_matplotlibrc matplotlibrc
Original file line number Diff line number Diff line change @@ -812,7 +812,6 @@ def matplotlib_fname():
812812 cwd = os .getcwd ()
813813 fname = os .path .join (cwd , 'matplotlibrc' )
814814 if os .path .exists (fname ):
815- print ('found mplrc file in cwd' )
816815 return fname
817816
818817 if 'MATPLOTLIBRC' in os .environ :
Original file line number Diff line number Diff line change @@ -101,6 +101,10 @@ def setup():
101101 # These settings *must* be hardcoded for running the comparison
102102 # tests and are not necessarily the default values as specified in
103103 # rcsetup.py
104+ use_new_toolmanager = rcParams ['toolbar' ] == 'toolmanager'
104105 rcdefaults () # Start with all defaults
105106
106107 set_font_settings_for_testing ()
108+
109+ if use_new_toolmanager :
110+ rcParams ['toolbar' ] = 'toolmanager'
You can’t perform that action at this time.
0 commit comments