Skip to content

Stats box content changes after zoom/unzoom with mouse wheel #13880

@linev

Description

@linev

Check duplicate issues.

  • Checked for duplicates

Description

If display histogram, zoom in with mouse wheel an then zoom out, content of stats box changes.
Most probably due to the fact that TAxis::kAxisRange flag is not reset after unzooming.

Reproducer

Load and display histogram with the command:

root --web=off -l https://root.cern/js/files/hsimple.root -e 'hpxpy->Draw()' 

And then zoom in/out with mouse wheel.

Before:
before

After:
after

ROOT version

master

Installation method

build from source

Operating system

OpenSUSE Linux

Additional context

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions