leotac / joypy

Joyplots in Python with matplotlib & pandas :chart_with_upwards_trend:
MIT License
559 stars 59 forks source link

fix colormap usage also for histograms #72

Open brunzema opened 7 months ago

brunzema commented 7 months ago

While the matplotlib implementation of hist does allow for multiple groups, it cannot handle colormaps. Therefore, currently, even if a colormap is specified, the multiple histograms are plotted in the default color blue. This pull request fixes this by creating separate histograms for each subgroup. :)

Before: before

After: after