Skip to content

Commit

Permalink
GetTicks should be the analogous of SetTicks
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdymercury authored and guitargeek committed Dec 18, 2023
1 parent 02d2028 commit 2d267b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hist/hist/src/TAxis.cxx
Expand Up @@ -635,7 +635,8 @@ const char *TAxis::GetTicks() const
{
if (TestBit(kTickPlus) && TestBit(kTickMinus)) return "+-";
if (TestBit(kTickMinus)) return "-";
return "+";
if (TestBit(kTickPlus)) return "+";
return "";
}

////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -1099,6 +1100,7 @@ void TAxis::SetRangeUser(Double_t ufirst, Double_t ulast)
/// option = "+" ticks drawn on the "positive side" (default)
/// option = "-" ticks drawn on the "negative side"
/// option = "+-" ticks drawn on both sides
/// option = "" ticks not drawn

void TAxis::SetTicks(Option_t *option)
{
Expand Down

0 comments on commit 2d267b3

Please sign in to comment.