has2k1 / plotnine

A Grammar of Graphics for Python

Home Page:https://plotnine.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change color of only one x axis label - plotnine

pyvid opened this issue · comments

Is there a way to only change the color of one specific x/y axis label with the use of plotnine only? I only get as far as colorizing all x or y axis labels in one color.

Yes you can. You should pass a list of colors. There should be as many colors as there are labels.

Upgrade to the latest version of plotnine.

Thank you for your help, it worked!