DingWB / PyComplexHeatmap

PyComplexHeatmap: A Python package to plot complex heatmap (clustermap)
https://dingwb.github.io/PyComplexHeatmap/
MIT License
297 stars 32 forks source link

Proprietary Microsoft font Arial generates warnings for each label on certain systems #38

Closed kenibrewer closed 1 year ago

kenibrewer commented 1 year ago

The use of the proprietary Microsoft font Arial generates a warning for each time a label is printed out on any system that doesn't have that font installed. Choice of specific fonts (especially proprietary ones) is best left to the user.

I would recommend only specifying the "Sans-serif" font family and then letting the user's matplotlib installation use whichever applicable font of that type they have installed instead of specifying a specific font.

DingWB commented 1 year ago

Thanks for your suggestions. I have already removed the code for setting the default font family in the newest version.