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

Copy plotting back from Python package #319

Open
felixhekhorn opened this issue Oct 24, 2024 · 0 comments
Open

Copy plotting back from Python package #319

felixhekhorn opened this issue Oct 24, 2024 · 0 comments
Labels
python python extention

Comments

@felixhekhorn
Copy link
Contributor

felixhekhorn commented Oct 24, 2024

Actually, after a bit more thinking I believe we can do even more, i.e. almost what I want:

  1. I suggest to split all the static stuff, i.e. the plot functions, away from pineappl_cli/src/plot.py into a file pineappl_py/something/plot.py
  2. that new file should be statically included into the pineappl Python package (and thus the Python interface will have easy access to the plot functions; we can also provide some additional methods which generate the necessary data from a grid using the Python interface itself)
  3. the CLI will copy that file verbatim into the output of pineappl plot

Originally posted by @felixhekhorn in #312 (comment)

@felixhekhorn felixhekhorn added the python python extention label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python python extention
Projects
None yet
Development

No branches or pull requests

1 participant