【发布时间】:2021-04-23 16:02:43
【问题描述】:
我有一个如下所示的数据框
| ACQUISITION_CHANNEL | RIDER_ID |
|---|---|
| Organic | 2735 |
| Referral | 1216 |
| Digital | 751 |
| Offline | 296 |
| Unknown | 108 |
| Job Platforms | 67 |
我正在制作如下条形图:
channel_rider_count.plot(kind='bar',
legend=None)
plt.title('Count of Riders by Acquisition Channel')
plt.xlabel('Acquisition Channel')
plt.ylabel('Count')
如何更改“推荐”栏的颜色,但保持其他颜色不变?
【问题讨论】:
-
this answer 能解决您的问题吗?
-
这能回答你的问题吗? Update Single Bar in Matplotlib
标签: pandas matplotlib plot jupyter