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

Fix #59 (np.int64 issue in the laTeX) #66

Closed Mxtt-smith closed 1 week ago

Mxtt-smith commented 2 weeks ago

Related issues

close #59

Proposed changes

Using a python list comprehension Instead of the NumPy arange method to create the list of xvalues from 1 to the number of supported platforms as this will produce a list of integers rather than np.int64 so when the values are added to the template the are plain integers and not np.int64(x).

Previous behaviour:

image

Behaviour now:

image

LaTeX now builds as it should: image

-

-

swright87 commented 1 week ago

@Mxtt-smith Just to note that we should rebase rather than merge into branches to maintain linear history :)