Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
swright87 opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@swright87
Copy link
Collaborator

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

@swright87 swright87 added the bug Something isn't working label Aug 2, 2024
@Pennycook Pennycook added this to the 1.0.0 milestone Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants