Skip to content

Conversation

@linev
Copy link
Member

@linev linev commented Oct 30, 2025

Was completely missing before.

Extend functionality of SavePrimitiveVector to handle empty arrays or arrays with only zeros
which can be replaced by "nullptr" in many constrctors like in TGraphErrors.
Use this functionality in meaningful places.

Fixes issue discovered with #20216

linev added 5 commits October 30, 2025 12:25
One also need to handle TGraphPolargramm which used to paint axes
In many constructors nullptr can be used if array is empty
or contains only 0. So to save space in the stored script just
return "nullptr" as result of the method or "<vectname>.data()" as string.

So produced string can be used as-is when create constructor signature
@linev linev changed the title Inplement TGraphPolar::SavePrimitive [graphics] Implement TGraphPolar::SavePrimitive Oct 30, 2025
@github-actions
Copy link

Test Results

    22 files      22 suites   4d 1h 37m 49s ⏱️
 3 702 tests  3 701 ✅ 0 💤 1 ❌
79 515 runs  79 514 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit b5479b7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants