Matplotlib蜡烛距离太近

时间:2020-04-25 11:56:32

标签: python matplotlib boxplot

如何在matplotlib中将蜡烛进一步分开?我目前有产生以下内容的代码:picture

显示的框和标签被压在一起,难以阅读。

我的情节函数如下:

// Index helper
type LastIndex<T extends readonly any[]> =
    ((...t: T) => void) extends ((x: any, ...r: infer R) => void) ?  Exclude<keyof T, keyof R> : never;

// Replace last parameter with mapped type
type ReplaceLastParam<TParams extends readonly any[], TReplace> = {
    [K in keyof TParams]: K extends LastIndex<TParams> ? TReplace : TParams[K] 
}

// Replace function
type ReplaceLast<F, TReplace> = F extends (...args: infer T) => infer R
    ? (...args: ReplaceLastParam<T, TReplace>) => R
    : never;

如何更改它以增加绘制点之间的间距?

0 个答案:

没有答案