You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Draw hbar is supposed to be the same as bar, but rotated. However, this fails if the histogram is empty.
Expected behavior
hbar shows the same as bar, but rotated 90 degrees
To Reproduce
auto c = new TCanvas()
c->Divide(2,1)
auto h = new TH1F()
c->cd(1)
h->Draw("bar")
c->cd(2)
h->Draw("hbar")
Setup
------------------------------------------------------------------
| Welcome to ROOT 6.26/06 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jul 28 2022, 18:08:51 |
| From tags/v6-26-06@v6-26-06 |
| With c++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.
It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.
Describe the bug
Draw hbar is supposed to be the same as bar, but rotated. However, this fails if the histogram is empty.
Expected behavior
hbar shows the same as bar, but rotated 90 degrees
To Reproduce
Setup
Additional context
#12566
The text was updated successfully, but these errors were encountered: