We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff00e6 commit 3008e64Copy full SHA for 3008e64
examples/statistical_charts/src/main.rs
@@ -345,7 +345,7 @@ fn fully_styled_box_plot() {
345
v
346
};
347
348
- let x_data = vec![
+ let x_data = [
349
"Carmelo<br>Anthony",
350
"Dwyane<br>Wade",
351
"Deron<br>Williams",
plotly_kaleido/src/lib.rs
@@ -163,7 +163,7 @@ impl Kaleido {
163
}
164
165
let output_lines = BufReader::new(process.stdout.unwrap()).lines();
166
- for line in output_lines.flatten() {
+ for line in output_lines.map_while(Result::ok) {
167
let res = KaleidoResult::from(line.as_str());
168
if let Some(image_data) = res.result {
169
let data: Vec<u8> = match format {
0 commit comments