intel / p3-analysis-library

A library simplifying the collection and interpretation of P3 data.
https://intel.github.io/p3-analysis-library/
MIT License
7 stars 10 forks source link

np.int64(x) is being inserted into LaTeX generated files for the PP line graph #59

Open swright87 opened 1 month ago

swright87 commented 1 month ago

Expected behavior

In the PP line graph, the data points should be numbered numerically from 1 up to the number of supported platforms. E.g.,

        \addplot[CUDA, thick, solid, mark=*, mark options={style={solid}}] coordinates {
            (1, 1.0)
            (2, 0.8545618463757664)
            };

Actual behavior

NumPy is adding np.int64() around each number, breaking the TeX. E.g.,

        \addplot[CUDA, thick, solid, mark=*, mark options={style={solid}}] coordinates {
            (np.int64(1), 1.0)
            (np.int64(2), 0.8545618463757664)
            };

Steps to reproduce the problem

Use the CascadePlot PGFPlots backend on a csv file.

Specifications

N/A