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

Add input parameter to control size of sankey plot #45

Open
abhijit-baruah opened this issue Aug 24, 2022 · 2 comments
Open

Add input parameter to control size of sankey plot #45

abhijit-baruah opened this issue Aug 24, 2022 · 2 comments

Comments

@abhijit-baruah
Copy link

The default size does not suit when there are 20+ pathways. Ability to control size as input would be appreciated.

@Pierre-Sassoulas
Copy link
Contributor

See #41

@Akhil-77
Copy link

The default size does not suit when there are 20+ pathways. Ability to control size as input would be appreciated.

Hey, I know I am late but you can control size like,

sankey(df2["Drug"],df2["Status"], aspect=20, fontsize=10)

fig = plt.gcf()

# Set size in inches
fig.set_size_inches(12, 6)
fig.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

3 participants