ImSoErgodic / py-upset

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

labeling of the intersection matrix #1

Open kes1smmn opened 8 years ago

kes1smmn commented 8 years ago

Do you have an example to add column labels at the bottom of the intersection matrix?

Also, consider adding 'rb' to this line: with open('./test_data_dict.pckl', 'r') as f:. I had a UnicodeDecodeError with the example as written on Linux machine.

Thanks for doing this project!

ImSoErgodic commented 8 years ago

Hi, labels for columns of the intersection matrix are not currently supported, but one may easily hack their way into adding them as the axes object containing the intersection matrix should be accessible from the output of the plot() function.

It's something I didn't consider adding immediately as it falls in the category of "non universal" use cases, so to speak, that the package should initially cover. It's something that can be added to a todo list if there's general interest in it, I guess.

The fix to the pickle open you're mentioning has also been introduced as of a few minutes ago!