You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Particularly when it comes to the bar charts, I can see the merit in making a chart using a single colour for the bars (indeed, I can see the merit in that being the default behaviour). I can't quite work out whether this is possible at present.
I guess from the definition of get_colours() it should be, if you provided cmap as a list containing a single colour?
If a string is passed through the cmap keyword, and is not a defined colormap, this will then search the base colours of matplotlib and generate a repeating list of the RGB of this colour
Particularly when it comes to the bar charts, I can see the merit in making a chart using a single colour for the bars (indeed, I can see the merit in that being the default behaviour). I can't quite work out whether this is possible at present.
I guess from the definition of
get_colours()
it should be, if you providedcmap
as a list containing a single colour?https://github.com/JackMcKew/pandas-alive/blob/ac770eecb2173e2d06fa852b0d65c03674f18b98/pandas_alive/charts.py#L110-L125
At a minimum it'd be nice to document this if it is possible, and maybe rework it to make it a little easier to just use one colour.
The text was updated successfully, but these errors were encountered: