()
| 213 | |
| 214 | #[test] |
| 215 | fn bar_plot_horizontal_renders() { |
| 216 | let df = df![ |
| 217 | "labels" => ["a", "b", "c"], |
| 218 | "values" => [10.0, 20.0, 30.0] |
| 219 | ] |
| 220 | .unwrap(); |
| 221 | let plot = BarPlot::builder() |
| 222 | .data(&df) |
| 223 | .labels("labels") |
| 224 | .values("values") |
| 225 | .orientation(plotlars_core::components::Orientation::Horizontal) |
| 226 | .build(); |
| 227 | let svg = plot.to_svg(); |
| 228 | assert!(!svg.is_empty()); |
| 229 | } |
| 230 | |
| 231 | #[test] |
| 232 | fn histogram_renders_to_svg() { |
nothing calls this directly
no test coverage detected