From a113b426b28e594ad49477bcbca1d42058878f23 Mon Sep 17 00:00:00 2001 From: Mxtt-smith <117466868+Mxtt-smith@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:56:40 +0100 Subject: [PATCH] Fix np.int64 issue in the laTeX --- p3/plot/backend/pgfplots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p3/plot/backend/pgfplots.py b/p3/plot/backend/pgfplots.py index d1d9eb5..88719f5 100644 --- a/p3/plot/backend/pgfplots.py +++ b/p3/plot/backend/pgfplots.py @@ -219,7 +219,7 @@ def __init__(self, df, eff=None, size=None, stream=None, **kwargs): app_df = app_df.sort_values(by=[eff_column], ascending=False) yvalues = app_df[eff_column] supported_platforms = list(app_df["platform"]) - xvalues = np.arange(1, len(supported_platforms) + 1) + xvalues = [x for x in range(1, len(supported_platforms) + 1)] plot_effs[app_name] = tuple(zip(xvalues, yvalues)) # Build a dictionary with "application name, (application name, qp)"