@@ -81,9 +81,13 @@ def create_figure():
81
81
82
82
83
83
# test compiling a figure to pdf with xelatex
84
+ < << << << HEAD
84
85
@needs_xelatex
85
86
@pytest .mark .style ('default' )
86
87
@pytest .mark .backend ('pgf' )
88
+ == == == =
89
+ @switch_backend ('pgf' )
90
+ > >> >> >> 40 d5e418e ... FIX small nitpicks
87
91
def test_xelatex ():
88
92
rc_xelatex = {'font.family' : 'serif' ,
89
93
'pgf.rcfonts' : False }
@@ -93,9 +97,13 @@ def test_xelatex():
93
97
94
98
95
99
# test compiling a figure to pdf with pdflatex
100
+ < << << << HEAD
96
101
@needs_pdflatex
97
102
@pytest .mark .style ('default' )
98
103
@pytest .mark .backend ('pgf' )
104
+ == == == =
105
+ @switch_backend ('pgf' )
106
+ > >> >> >> 40 d5e418e ... FIX small nitpicks
99
107
def test_pdflatex ():
100
108
import os
101
109
if os .environ .get ('APPVEYOR' , False ):
@@ -113,10 +121,14 @@ def test_pdflatex():
113
121
114
122
115
123
# test updating the rc parameters for each figure
124
+ < << << << HEAD
116
125
@needs_xelatex
117
126
@needs_pdflatex
118
127
@pytest .mark .style ('default' )
119
128
@pytest .mark .backend ('pgf' )
129
+ == == == =
130
+ @switch_backend ('pgf' )
131
+ > >> >> >> 40 d5e418e ... FIX small nitpicks
120
132
def test_rcupdate ():
121
133
rc_sets = []
122
134
rc_sets .append ({'font.family' : 'sans-serif' ,
@@ -145,9 +157,13 @@ def test_rcupdate():
145
157
146
158
147
159
# test backend-side clipping, since large numbers are not supported by TeX
160
+ < << << << HEAD
148
161
@needs_xelatex
149
162
@pytest .mark .style ('default' )
150
163
@pytest .mark .backend ('pgf' )
164
+ == == == =
165
+ @switch_backend ('pgf' )
166
+ > >> >> >> 40 d5e418e ... FIX small nitpicks
151
167
def test_pathclip ():
152
168
rc_xelatex = {'font.family' : 'serif' ,
153
169
'pgf.rcfonts' : False }
@@ -162,9 +178,13 @@ def test_pathclip():
162
178
163
179
164
180
# test mixed mode rendering
181
+ < << << << HEAD
165
182
@needs_xelatex
166
183
@pytest .mark .style ('default' )
167
184
@pytest .mark .backend ('pgf' )
185
+ == == == =
186
+ @switch_backend ('pgf' )
187
+ > >> >> >> 40 d5e418e ... FIX small nitpicks
168
188
def test_mixedmode ():
169
189
rc_xelatex = {'font.family' : 'serif' ,
170
190
'pgf.rcfonts' : False }
@@ -177,9 +197,13 @@ def test_mixedmode():
177
197
178
198
179
199
# test bbox_inches clipping
200
+ < << << << HEAD
180
201
@needs_xelatex
181
202
@pytest .mark .style ('default' )
182
203
@pytest .mark .backend ('pgf' )
204
+ == == == =
205
+ @switch_backend ('pgf' )
206
+ > >> >> >> 40 d5e418e ... FIX small nitpicks
183
207
def test_bbox_inches ():
184
208
rc_xelatex = {'font.family' : 'serif' ,
185
209
'pgf.rcfonts' : False }
0 commit comments