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 157f58d commit 08927c6Copy full SHA for 08927c6
plotters/src/evcxr.rs
@@ -60,11 +60,11 @@ impl BitMapWrapper {
60
61
impl std::fmt::Debug for BitMapWrapper {
62
fn fmt(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
63
- let svg = self.0.as_str();
+ let enc = self.0.as_str();
64
write!(
65
formatter,
66
"EVCXR_BEGIN_CONTENT text/html\n<img style=\"{}\" src=\"data:image/png;base64,{}\"/>\nEVCXR_END_CONTENT",
67
- self.1, svg
+ self.1, enc
68
)
69
}
70
@@ -96,7 +96,6 @@ pub fn evcxr_bitmap_figure<
96
let enc_buf = encode_png(&img).unwrap();
97
let buffer = base64::encode(&enc_buf);
98
BitMapWrapper(buffer, "".to_string())
99
- // todo!()
100
101
102
pub fn evcxr_animation<
0 commit comments