Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can get the diagram? #19

Open
mertcansusuz opened this issue Nov 21, 2017 · 1 comment
Open

How can get the diagram? #19

mertcansusuz opened this issue Nov 21, 2017 · 1 comment

Comments

@mertcansusuz
Copy link

mertcansusuz commented Nov 21, 2017

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
Copy link

pascalg commented Feb 20, 2018

Import matplotlib
import matplotlib.pyplot as plt

and specifically call the plot
plt.show()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants