Skip to content

Commit b39a995

Browse files
committed
Add note about visual perception of pads spacing with empty backgrounds
1 parent e0538be commit b39a995

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

graf2d/gpad/src/TPad.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,10 @@ Int_t TPad::DistancetoPrimitive(Int_t px, Int_t py)
12321232
/// - color is the color of the new pads. If 0, color is the canvas color.
12331233
/// - All pads are contained within the inner area defined by the canvas margins.
12341234
///
1235+
/// Note that, if you don't have a background color of your pad, the spacing between pads
1236+
/// might look larger than specified, since in the default case, each pad has internally
1237+
/// an empty space on the right equal to the space filled on the left for the y axis labels.
1238+
///
12351239
/// Pads are automatically named `canvasname_n` where `n` is the division number
12361240
/// starting from top left pad.
12371241
///

0 commit comments

Comments
 (0)