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

Possibility to change font type #21

Open
pierrepo opened this issue Oct 12, 2022 · 2 comments
Open

Possibility to change font type #21

pierrepo opened this issue Oct 12, 2022 · 2 comments

Comments

@pierrepo
Copy link

I would like to change the plot font type to sans serif to my SanKey plot.

I tried with the parameter

plt.rcParams.update({'font.family':'sans-serif'})

before creating my Sankey plot, but it did not work.

Would it possible to add a fontfamily parameter, similar to fontsize, in the sankey() function?

Many thanks in advance.

@Pierre-Sassoulas
Copy link
Owner

Make sense, I would merge a pull request that add this argument with a default value so it's not a breaking change.

@pierrepo
Copy link
Author

Thank you 👍

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

No branches or pull requests

2 participants