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 fonts, fonts sizes and other formatting issues #12

Open
yotkadata opened this issue Apr 4, 2022 · 1 comment
Open

Comments

@yotkadata
Copy link

This approach looks really great, thank you. I haven't managed to apply formatting for fonts etc. - is it possible? I tried using Matplotlib's RC parameters, but they have no effect. Is there a way to do it?

@drazenz
Copy link
Owner

drazenz commented Apr 4, 2022

Hey thanks!

It's been a while since I last worked on this, but take a look at https://github.com/dylan-profiler/heatmaps/blob/master/heatmap/heatmap.py

You'll see how kwargs are passed to lower level plotting functions, maybe you'll be able to figure it out. Also I'm not explicitly setting any font styling, so your global settings should probably work.

Also check here at the end of the notebook https://colab.research.google.com/drive/1YSvER-U3cwGplSHyXwaCXYhOWfWO53Iy#scrollTo=1cGZYxvlzUL1
It seems that xkcd styling works, so applying some global styles should work as intented.

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