diff --git a/src/types.rs b/src/types.rs index e611ae4..8c632c6 100644 --- a/src/types.rs +++ b/src/types.rs @@ -846,7 +846,7 @@ pub struct ScaleTicks { #[serde(skip_serializing_if = "FnWithArgs::is_empty", default)] pub callback: FnWithArgs, - + #[serde(skip_serializing_if = "Option::is_none")] pub padding: Option, }