biolab / orange3

🍊 :bar_chart: :bulb: Orange: Interactive data analysis
https://orangedatamining.com
Other
4.85k stars 1.01k forks source link

Distributions: y axis doesn't display all data #6087

Closed ajdapretnar closed 1 year ago

ajdapretnar commented 2 years ago

What's wrong?

Y axis in Distributions in some cases doesn't display max ticks. This makes it difficult to read the diagrams.

How can we reproduce the problem?

File (heart-disease) - Distributions. Select cholesterol. There's not tick past 100.

Screenshot 2022-08-04 at 10 22 16
janezd commented 1 year ago

@VesnaT says she tried. Tried hard. Well, somewhat hard. But couldn't solve it. :)

The problem is that ticks are determined by window size, so solving this would require recomputation somewhere deep in pyqtgraph (just before paint, with no good space to override anything). Solution would be complicated and ugly, and would probably fail in the very next version of pyqtgraph.