biolab / orange3

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

OWHeatMap: PDF and svg image export wrong #3872

Closed ajdapretnar closed 5 years ago

ajdapretnar commented 5 years ago
Orange version

3.21.dev

Expected behavior

PDF export is the same as .png.

Actual behavior

PDF export is incomprehensible and not faithful enough.

Steps to reproduce the behavior

File (iris) - Heat Map (make one export in png and the other in pdf).

Additional info (worksheets, data, screenshots, ...)

PNG iris1

PDF iris2.pdf

ajdapretnar commented 5 years ago

The issue is the same of course for .svg.

turtlekb commented 5 years ago

I have this problem as well. In addition, saving as png appears to save only part of the image.

Edit: I'm able to fix the png issue by maximizing the window size of the heatmap. The resolution is, however, not good.

markotoplak commented 5 years ago

The corresponding Qt bug is https://bugreports.qt.io/browse/QTBUG-54809. It was fixed in Qt 5.13.

I patched it (biolab/orange-widget-base#5), but the patch only works with Qt 5.13. On any older Qt it won't change anything.

This is how heatmaps look with the patch: hm513.pdf

lanzagar commented 5 years ago

I guess this can be closed, since we don't expect it to be fixed for older versions of Qt. Hopefully everyone (and our installers) get Qt>=5.13 soon.