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

How can get the diagram? #19

Open mertcansusuz opened 6 years ago

mertcansusuz commented 6 years ago

Hi,

I wanted to use Python instead of JavaScript for drawing UpSet diagram and find myself here. I'm using PyCharm as an IDE and downloaded every requirements.

I tried the code below; import pyupset as pyu from pickle import load with open('./test_data_dict.pckl', 'rb') as f: data_dict = load(f) pyu.plot(data_dict)

after run the code it says "Process finished with exit code 0" but gives no graph/ diagram. I know it's all about my ignorance but I'm trying to learn.. any help?

pascalg commented 6 years ago

Import matplotlib import matplotlib.pyplot as plt

and specifically call the plot plt.show()