Conversation
linev
approved these changes
Mar 11, 2025
Member
linev
left a comment
There was a problem hiding this comment.
Looks fine for me.
I will adjust code in JSROOT as well.
I do not see side effects on my test cases
Test Results 18 files 18 suites 4d 10h 40m 9s ⏱️ For more details on these failures, see this check. Results for commit b14463e. ♻️ This comment has been updated with latest results. |
linev
added a commit
to linev/root
that referenced
this pull request
Mar 13, 2025
1. Implement 'arr_colz' draw option for `TH2` 2. Only 'col7' draw option uses bar offset and width for color `TH2` drawing 3. Interactive zooming and context menu on 'chord' `TH2` drawing 4. Implement 'box1' for `TH3` with negative bins 5. Test fSumw2 when detect empty TH2 bin, sync with root-project#17948 6. Upgrade three.js r168 -> r174 7. Internals - use private members and methods 8. Internals - use `WeakRef` class for cross-referencing of painters 9. Internals - use negative indexes in arrays and Strings 10. Internals - use stricter eslint checks 11. Fix - drawing `TPaveText` with zero text size 12. Fix - hidden canvas in Jupyter Lab, https://root-forum.cern.ch/t/63097/ 13. Fix - latex super-script without leading symbol, https://root-forum.cern.ch/t/63114/ 14. Fix - correctly read std::pair<> without dictionary, https://root-forum.cern.ch/t/63114/ 15. Fix - TGaxis custom labels scaling
linev
added a commit
that referenced
this pull request
Mar 13, 2025
1. Implement 'arr_colz' draw option for `TH2` 2. Only 'col7' draw option uses bar offset and width for color `TH2` drawing 3. Interactive zooming and context menu on 'chord' `TH2` drawing 4. Implement 'box1' for `TH3` with negative bins 5. Test fSumw2 when detect empty TH2 bin, sync with #17948 6. Upgrade three.js r168 -> r174 7. Internals - use private members and methods 8. Internals - use `WeakRef` class for cross-referencing of painters 9. Internals - use negative indexes in arrays and Strings 10. Internals - use stricter eslint checks 11. Fix - drawing `TPaveText` with zero text size 12. Fix - hidden canvas in Jupyter Lab, https://root-forum.cern.ch/t/63097/ 13. Fix - latex super-script without leading symbol, https://root-forum.cern.ch/t/63114/ 14. Fix - correctly read std::pair<> without dictionary, https://root-forum.cern.ch/t/63114/ 15. Fix - TGaxis custom labels scaling
linev
added a commit
to linev/root
that referenced
this pull request
Apr 25, 2025
1. New draw options: - 'pol' and 'arr_colz' draw option for `TH2` - 'col7' uses bar offset and width for `TH2` - 'cont5' for `TGraph2D` using Delaunay algorithm - 'chord' drawing of `TH2` implements zooming - 'box1' for `TH3` with negative bins - 'same' option for first histogram on pad, draw without creating `TFrame` - 'rangleNN' for `TGraphPolargram`, also support fAxisAngle member - 'N' and 'O' for `TGraphPolargram` for angle coordinate systems - 'arc' for `TPave` and derived classes - 'allbins' for histograms to display underflow/overflow bins - Poisson errors for `TH1`/`TH2`, https://root-forum.cern.ch/t/62335/ - test fSumw2 when detect empty `TH2` bin, sync with root-project#17948 2. New supported classes: - `TF12` - projection of `TF2` - `TLink` and `TButton`, used in `TInspectCanvas` 3. New partameters in `TTree::Draw`: - '>>elist' to request entries matching cut conditions - 'elist' to specify entries for processing - 'nmatch' to process exactly the specified number of entries, break processing afterwards - 'staged' algorithm to first select entries and then process only these entries 4. New settings parameters: - `settings.FilesTimeout` global timeout for file reading operations - `settings.FilesRemap` fallback address for http server, used for `root.cern` - `settings.TreeReadBunchSize` bunch read size for `TTree` processing - `settings.UserSelect` to set 'user-select: none' style in drawings to exclude text selection 5. Context menus: - all `TPave`-derived classes - in 'chord' drawings of `TH2` - editing histogram and graph title 6. Fixes: - match histogram title drawing with native ROOT implementation - float to string conversion when 'g' is specified - handle `TPave` NDC position also when fInit is not set - properly handle image sizes in svg2pdf - drawing `TPaveText` with zero text size - correct axis range in `TScatter` drawing - use draw option also for graph drawing in `TTree::Draw` 7. Internals: - upgrade three.js r168 -> r174 - use private members and methods - use `WeakRef` class for cross-referencing of painters - use negative indexes in arrays and Strings - remove support of qt5 webengine, only qt6web can be used
2 tasks
linev
added a commit
that referenced
this pull request
Apr 25, 2025
1. New draw options: - 'pol' and 'arr_colz' draw option for `TH2` - 'col7' uses bar offset and width for `TH2` - 'cont5' for `TGraph2D` using Delaunay algorithm - 'chord' drawing of `TH2` implements zooming - 'box1' for `TH3` with negative bins - 'same' option for first histogram on pad, draw without creating `TFrame` - 'rangleNN' for `TGraphPolargram`, also support fAxisAngle member - 'N' and 'O' for `TGraphPolargram` for angle coordinate systems - 'arc' for `TPave` and derived classes - 'allbins' for histograms to display underflow/overflow bins - Poisson errors for `TH1`/`TH2`, https://root-forum.cern.ch/t/62335/ - test fSumw2 when detect empty `TH2` bin, sync with #17948 2. New supported classes: - `TF12` - projection of `TF2` - `TLink` and `TButton`, used in `TInspectCanvas` 3. New partameters in `TTree::Draw`: - '>>elist' to request entries matching cut conditions - 'elist' to specify entries for processing - 'nmatch' to process exactly the specified number of entries, break processing afterwards - 'staged' algorithm to first select entries and then process only these entries 4. New settings parameters: - `settings.FilesTimeout` global timeout for file reading operations - `settings.FilesRemap` fallback address for http server, used for `root.cern` - `settings.TreeReadBunchSize` bunch read size for `TTree` processing - `settings.UserSelect` to set 'user-select: none' style in drawings to exclude text selection 5. Context menus: - all `TPave`-derived classes - in 'chord' drawings of `TH2` - editing histogram and graph title 6. Fixes: - match histogram title drawing with native ROOT implementation - float to string conversion when 'g' is specified - handle `TPave` NDC position also when fInit is not set - properly handle image sizes in svg2pdf - drawing `TPaveText` with zero text size - correct axis range in `TScatter` drawing - use draw option also for graph drawing in `TTree::Draw` 7. Internals: - upgrade three.js r168 -> r174 - use private members and methods - use `WeakRef` class for cross-referencing of painters - use negative indexes in arrays and Strings - remove support of qt5 webengine, only qt6web can be used
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As suggested here this PR differentiate empty bins and bins with zero content when using the drawing option COL. The following little taste shows how it is working.