(plot: &impl Plot)
| 162 | use polars::prelude::*; |
| 163 | |
| 164 | fn to_json_value(plot: &impl Plot) -> serde_json::Value { |
| 165 | let json_str = ir_to_json(plot).unwrap(); |
| 166 | serde_json::from_str(&json_str).unwrap() |
| 167 | } |
| 168 | |
| 169 | #[test] |
| 170 | fn test_scatter_to_json_has_traces() { |