@@ -39,7 +39,7 @@ def test_plot3d_red_circles_zscale(data, region):
39
39
zscale = 5 ,
40
40
perspective = [225 , 30 ],
41
41
region = region ,
42
- projection = "X4i " ,
42
+ projection = "X10c " ,
43
43
style = "c0.2c" ,
44
44
color = "red" ,
45
45
frame = ["afg" , "zafg" ],
@@ -49,16 +49,16 @@ def test_plot3d_red_circles_zscale(data, region):
49
49
50
50
@pytest .mark .mpl_image_compare
51
51
def test_plot3d_red_circles_zsize (data , region ):
52
- "Plot the 3D data in red circles passing in vectors and setting zsize = 3i "
52
+ "Plot the 3D data in red circles passing in vectors and setting zsize = 6c "
53
53
fig = Figure ()
54
54
fig .plot3d (
55
55
x = data [:, 0 ],
56
56
y = data [:, 1 ],
57
57
z = data [:, 2 ],
58
- zsize = "3i " ,
58
+ zsize = "6c " ,
59
59
perspective = [225 , 30 ],
60
60
region = region ,
61
- projection = "X4i " ,
61
+ projection = "X10c " ,
62
62
style = "c0.2c" ,
63
63
color = "red" ,
64
64
frame = ["afg" , "zafg" ],
@@ -73,13 +73,13 @@ def test_plot3d_fail_no_data(data, region):
73
73
fig = Figure ()
74
74
with pytest .raises (GMTInvalidInput ):
75
75
fig .plot3d (
76
- region = region , projection = "X4i " , style = "c0.2c" , color = "red" , frame = "afg"
76
+ region = region , projection = "X10c " , style = "c0.2c" , color = "red" , frame = "afg"
77
77
)
78
78
with pytest .raises (GMTInvalidInput ):
79
79
fig .plot3d (
80
80
x = data [:, 0 ],
81
81
region = region ,
82
- projection = "X4i " ,
82
+ projection = "X10c " ,
83
83
style = "c0.2c" ,
84
84
color = "red" ,
85
85
frame = "afg" ,
@@ -88,7 +88,7 @@ def test_plot3d_fail_no_data(data, region):
88
88
fig .plot3d (
89
89
y = data [:, 0 ],
90
90
region = region ,
91
- projection = "X4i " ,
91
+ projection = "X10c " ,
92
92
style = "c0.2c" ,
93
93
color = "red" ,
94
94
frame = "afg" ,
@@ -101,7 +101,7 @@ def test_plot3d_fail_no_data(data, region):
101
101
z = data [:, 2 ],
102
102
data = data ,
103
103
region = region ,
104
- projection = "X4i " ,
104
+ projection = "X10c " ,
105
105
style = "c0.2c" ,
106
106
color = "red" ,
107
107
frame = "afg" ,
@@ -136,7 +136,7 @@ def test_plot3d_projection(data, region):
136
136
zscale = 5 ,
137
137
perspective = [225 , 30 ],
138
138
region = region ,
139
- projection = "R270/4i " ,
139
+ projection = "R270/10c " ,
140
140
style = "s1c" ,
141
141
color = "green" ,
142
142
frame = ["ag" , "zag" ],
@@ -158,7 +158,7 @@ def test_plot3d_colors(data, region):
158
158
perspective = [225 , 30 ],
159
159
color = data [:, 2 ],
160
160
region = region ,
161
- projection = "X3i " ,
161
+ projection = "X6c " ,
162
162
style = "c0.5c" ,
163
163
cmap = "cubhelix" ,
164
164
frame = ["afg" , "zafg" ],
@@ -180,9 +180,10 @@ def test_plot3d_sizes(data, region):
180
180
perspective = [225 , 30 ],
181
181
sizes = 0.5 * data [:, 2 ],
182
182
region = region ,
183
- projection = "X4i " ,
183
+ projection = "X10c " ,
184
184
# Using inches instead of cm because of upstream bug at
185
- # https://github.com/GenericMappingTools/gmt/issues/4386
185
+ # https://github.com/GenericMappingTools/gmt/issues/4386#
186
+ # TODO check if still valid
186
187
style = "ui" ,
187
188
color = "blue" ,
188
189
frame = ["af" , "zaf" ],
@@ -205,9 +206,10 @@ def test_plot3d_colors_sizes(data, region):
205
206
color = data [:, 2 ],
206
207
sizes = 0.5 * data [:, 2 ],
207
208
region = region ,
208
- projection = "X3i " ,
209
+ projection = "X6c " ,
209
210
# Using inches instead of cm because of upstream bug at
210
211
# https://github.com/GenericMappingTools/gmt/issues/4386
212
+ # TODO check if still valid
211
213
style = "ui" ,
212
214
cmap = "copper" ,
213
215
frame = ["af" , "zaf" ],
@@ -228,12 +230,13 @@ def test_plot3d_colors_sizes_proj(data, region):
228
230
zscale = 5 ,
229
231
perspective = [225 , 30 ],
230
232
region = region ,
231
- projection = "M10i " ,
233
+ projection = "M20c " ,
232
234
frame = ["af" , "zaf" ],
233
235
color = data [:, 2 ],
234
236
sizes = data [:, 2 ],
235
237
# Using inches instead of cm because of upstream bug at
236
238
# https://github.com/GenericMappingTools/gmt/issues/4386
239
+ # TODO check if still valid
237
240
style = "ui" ,
238
241
cmap = "copper" ,
239
242
)
@@ -284,7 +287,7 @@ def test_plot3d_transparency():
284
287
style = "u0.2c" ,
285
288
color = "blue" ,
286
289
region = [0 , 10 , 0 , 10 , 10 , 90 ],
287
- projection = "X4i " ,
290
+ projection = "X10c " ,
288
291
zscale = 0.1 ,
289
292
frame = True ,
290
293
perspective = [135 , 30 ],
@@ -310,7 +313,7 @@ def test_plot3d_varying_transparency():
310
313
style = "o0.2c+B5" ,
311
314
color = "blue" ,
312
315
region = [0 , 10 , 0 , 10 , 10 , 90 ],
313
- projection = "X4i " ,
316
+ projection = "X10c " ,
314
317
zscale = 0.1 ,
315
318
frame = True ,
316
319
perspective = [135 , 30 ],
@@ -337,7 +340,7 @@ def test_plot3d_sizes_colors_transparencies():
337
340
y = y ,
338
341
z = z ,
339
342
region = [0 , 10 , 0 , 10 , 10 , 90 ],
340
- projection = "X4i " ,
343
+ projection = "X10c " ,
341
344
zscale = 0.1 ,
342
345
perspective = [135 , 30 ],
343
346
frame = True ,
@@ -361,7 +364,7 @@ def test_plot3d_matrix(data, region):
361
364
zscale = 5 ,
362
365
perspective = [225 , 30 ],
363
366
region = region ,
364
- projection = "M10i " ,
367
+ projection = "M20c " ,
365
368
style = "c1c" ,
366
369
color = "#aaaaaa" ,
367
370
frame = ["a" , "za" ],
@@ -381,7 +384,7 @@ def test_plot3d_matrix_color(data, region):
381
384
zscale = 5 ,
382
385
perspective = [225 , 30 ],
383
386
region = region ,
384
- projection = "X5i " ,
387
+ projection = "X10c " ,
385
388
style = "c0.5c" ,
386
389
cmap = "rainbow" ,
387
390
columns = [0 , 1 , 2 , 2 ],
@@ -401,7 +404,7 @@ def test_plot3d_from_file(region):
401
404
zscale = 5 ,
402
405
perspective = [225 , 30 ],
403
406
region = region ,
404
- projection = "X10i " ,
407
+ projection = "X20c " ,
405
408
style = "d1c" ,
406
409
color = "yellow" ,
407
410
frame = ["af" , "zaf" ],
@@ -430,7 +433,7 @@ def test_plot3d_vectors():
430
433
perspective = [225 , 30 ],
431
434
direction = (azimuth , lengths ),
432
435
region = [- 2 , 2 , - 2 , 2 , - 2 , 2 ],
433
- projection = "X4i " ,
436
+ projection = "X10c " ,
434
437
style = "V1c+e" ,
435
438
color = "black" ,
436
439
frame = ["af" , "zaf" ],
0 commit comments