|
|
@@ -31,7 +31,7 @@ use crate::{
|
|
|
use anyhow::{anyhow, bail, Context, Ok, Result};
|
|
|
use charming::{
|
|
|
component::{Axis, Grid},
|
|
|
- element::{AxisLabel, AxisTick, AxisType, BoundaryGap, ItemStyle, Label, LabelPosition},
|
|
|
+ element::{AxisLabel, AxisType, Label, LabelPosition},
|
|
|
series::Bar,
|
|
|
Chart,
|
|
|
};
|
|
|
@@ -1166,7 +1166,7 @@ impl AllStats {
|
|
|
}
|
|
|
|
|
|
pub fn generate_graph(&self, prefix: &str) -> anyhow::Result<()> {
|
|
|
- let bar_interval = 20 as f64;
|
|
|
+ let bar_interval = 20_f64;
|
|
|
// 1. Consequences
|
|
|
let consequences_data: Vec<&Stat> = self
|
|
|
.variants_stats
|