root
root copied to clipboard
[GSoC] Hist and TGraph Pythonizations.
This Pull request:
Changes or fixes:
Checklist:
- [ ] tested changes locally
- [ ] updated the docs (if necessary)
This PR fixes #
Can one of the admins verify this patch?
@etejedor Sir, Can you kindly review this PR. Also, there seems to be an issue with the TGraph constructor pythoniztion and the GetAsNumpy methods. Please post any changes or additions I can make. I will update the PR soon accordingly based on your inputs and suggestions. Thank you.
Here's a link to the github gist for your reference.
Hello @Harshalzzzzzzz
Also, there seems to be an issue with the TGraph constructor pythoniztion and the GetAsNumpy methods
What is exactly the problem?
TGraph Constructor returns a null value @etejedor
TGraph Constructor returns a null value
Please see my comments inline in the code about this.
@etejedor Can you also please review the GetAsNumpy method, so that I can resolve the errors
@etejedor Can you also please review the GetAsNumpy method, so that I can resolve the errors
What kind of errors do you get?
What kind of errors do you get?
@etejedor Thank you sir, both errors are resolved, Kindly review the PR if possible. Regards.
@lmoneta @sanjibansg @omazapa PR updated. Kindly review, I will update the fixes/changes, if any, asap.
Thanks.
@guitargeek We have already FillN to fill a numpy array in an histogram.
I think is good to have a function creating and filling histogram directly from Numpy passing the array and the other c'tor arguments (number of bins, min and max), or just number of bins and compute min and max automatically.
Okay! Having FromNumpy then makes sense, it just needs some proper docstring
This pull request introduces 4 alerts when merging cb774a42274505bebdb77f6921408802253aff9f into 2441d1359ddd4d3a644681f3208f9e3b0282464d - view on LGTM.com
new alerts:
- 2 for Unused import
- 2 for Module is imported with 'import' and 'import from'
This pull request introduces 4 alerts when merging 3285d602fd1b130aa17096b5b066a95368f05005 into b7a3cb5ada6c71119f068c488fec0161d58d2dd7 - view on LGTM.com
new alerts:
- 3 for Unused import
- 1 for Wrong number of arguments in a call
This pull request introduces 4 alerts when merging 538d1cf59476f91dbb49d350875b86b0a6c7eb51 into 97802b9066ca98c17527949b76b9f070ce676738 - view on LGTM.com
new alerts:
- 3 for Unused import
- 1 for Wrong number of arguments in a call
This pull request introduces 1 alert when merging b5f4c785eafff9b94765049f160dc5989ca6b126 into e7c7170af9cddaa6482763db49a20ef55609327c - view on LGTM.com
new alerts:
- 1 for Wrong number of arguments in a call