From bd395341d5452909b94391075130d3e8d8faa9c0 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 14 Aug 2026 11:48:38 +0200 Subject: [PATCH] use the old 'xbrushwidth' lable as an alternative to 'pyplot_linewidth' --- src/frontend/plotting/pyplot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/plotting/pyplot.c b/src/frontend/plotting/pyplot.c index 022be718b..86f035b4e 100644 --- a/src/frontend/plotting/pyplot.c +++ b/src/frontend/plotting/pyplot.c @@ -139,6 +139,9 @@ void ft_pyplot(double *xlims, double *ylims, lwarg[0] = '\0'; if (cp_getvar("pyplot_linewidth", CP_REAL, &linewidth, 0) && linewidth > 0.0) (void) snprintf(lwarg, sizeof lwarg, "linewidth=%g, ", linewidth); + /* use the old label as an alternative */ + else if (cp_getvar("xbrushwidth", CP_REAL, &linewidth, 0) && linewidth > 0.0) + (void) snprintf(lwarg, sizeof lwarg, "linewidth=%g, ", linewidth); markers = FALSE; if (cp_getvar("pointstyle", CP_STRING, pointstyle, sizeof(pointstyle)))