You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get no text output when trying to convert a categorical view to text. When writing to svg, like barchart example, I see them, but when trying to convert to text, the output is empty.
use plotlib::{
repr::BarChart,
style::BoxStyle,
view::{CategoricalView, View},
};
fn main() {
let b1 = BarChart::new(5.3).label("1");
let b2 = BarChart::new(2.6)
.label("2")
.style(&BoxStyle::new().fill("darkolivegreen"));
let v = CategoricalView::new()
.add(b1)
.add(b2)
.x_label("Experiment")
.to_text(20, 20)
.unwrap();
println!("{:?}", v);let v = CategoricalView::new()
.add(b1)
.add(b2)
.x_label("Experiment")
.to_text(20, 20)
.unwrap();
println!("{:?}", v);
}
The text was updated successfully, but these errors were encountered:
I get no text output when trying to convert a categorical view to text. When writing to svg, like barchart example, I see them, but when trying to convert to text, the output is empty.
use plotlib::{
repr::BarChart,
style::BoxStyle,
view::{CategoricalView, View},
};
The text was updated successfully, but these errors were encountered: