ImSoErgodic / py-upset

A pure-python implementation of the UpSet suite of visualisation methods by Lex, Gehlenborg et al.
314 stars 57 forks source link

Barplots misaligned #18

Open popher opened 7 years ago

popher commented 7 years ago

I found the vertical and horizontal bar plots (intersection and base set size), the bars were not aligned with the scatter matrix or even their own labels.

It is fixed by changing __inters_sizesplot (line 372) to remove the - width / 2 part. I don't know why this is there, it only offsets the bars the wrong way?

Likewise in __base_setsplot (line 293) remove the - height / 2 part.

I will try to make the push but in case I dont/or if this repo is no longer being maintained, this is useful for reference.