Label/matrix gap in exported image of narrow/flat matrices
USE CASE: WHAT DO YOU WANT TO DO?
Export a 6 x 3000 matrix with labels.
STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)
- Open test file: https://bitbucket.org/TreeView3Dev/treeview3/downloads/issue583.txt
- Export as PNG or PDF
CURRENT BEHAVIOR
There is a relatively large gap between the row labels and the matrix both in the preview and the exported image file.
EXPECTED BEHAVIOR
The gap should be smaller. Export small_133x133.txt for comparison.
DEVELOPERS ONLY SECTION
SUGGESTED CHANGE (Pseudocode optional)
I suspect that the gap has to do with weird dimension calculations.
FILES AFFECTED (where the changes will be implemented) - developers only
Unknown, but likely something in DendroView.java, which is where the fix for #583 was implemented.
LEVEL OF EFFORT - developers only
minor
COMMENTS
Related issue: #583 (resolved).
Note, test and fix any potential gap with trees as well, if there exists one.