Skip to content

Commit ab78b56

Browse files
committed
remove disable gpu from chromimum args
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent b05315f commit ab78b56

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

plotly_kaleido/src/lib.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,11 @@ impl Kaleido {
190190
.current_dir(self.cmd_path.parent().unwrap())
191191
.args([
192192
"plotly",
193-
"--disable-gpu",
194193
"--allow-file-access-from-files",
195194
"--disable-breakpad",
196195
"--disable-dev-shm-usage",
197196
"--disable-software-rasterizer",
198197
"--single-process",
199-
"--disable-gpu",
200198
"--no-sandbox",
201199
])
202200
.stdin(Stdio::piped())
@@ -307,8 +305,6 @@ mod tests {
307305
assert_eq!(to_value(kaleido_data).unwrap(), expected);
308306
}
309307

310-
// This seems to fail unpredictably on MacOs.
311-
#[cfg(not(target_os = "macos"))]
312308
#[test]
313309
fn save_png() {
314310
let test_plot = create_test_plot();
@@ -319,8 +315,6 @@ mod tests {
319315
assert!(std::fs::remove_file(dst.as_path()).is_ok());
320316
}
321317

322-
// This seems to fail unpredictably on MacOs.
323-
#[cfg(not(target_os = "macos"))]
324318
#[test]
325319
fn save_jpeg() {
326320
let test_plot = create_test_plot();
@@ -331,8 +325,6 @@ mod tests {
331325
assert!(std::fs::remove_file(dst.as_path()).is_ok());
332326
}
333327

334-
// This seems to fail unpredictably on MacOs.
335-
#[cfg(not(target_os = "macos"))]
336328
#[test]
337329
fn save_webp() {
338330
let test_plot = create_test_plot();
@@ -343,8 +335,6 @@ mod tests {
343335
assert!(std::fs::remove_file(dst.as_path()).is_ok());
344336
}
345337

346-
// This seems to fail unpredictably on MacOs.
347-
#[cfg(not(target_os = "macos"))]
348338
#[test]
349339
fn save_svg() {
350340
let test_plot = create_test_plot();
@@ -355,8 +345,6 @@ mod tests {
355345
assert!(std::fs::remove_file(dst.as_path()).is_ok());
356346
}
357347

358-
// This seems to fail unpredictably on MacOs.
359-
#[cfg(not(target_os = "macos"))]
360348
#[test]
361349
fn save_pdf() {
362350
let test_plot = create_test_plot();

0 commit comments

Comments
 (0)