matplotlib - 线条不断出现在我的图表中。为什么会这样?我该如何摆脱它们?
问题描述
role = DMGC_combined_df['Primary Role']
wins = DMGC_combined_df['wins']
plt.bar(role,wins)
plt.xlabel("Primary Role")
plt.ylabel("Wins")
plt.title('Wins per Primary Role in Top 4 Tiers')
plt.show()
#this is all my code is at this point,不确定为什么线条会出现在我的图表上
解决方案
推荐阅读
- python - 在 SQL Server 2017 中使用 sqlalchemcy 中的 string_agg() 函数
- javascript - 在javascript中加入和拆分数组中的元素
- amazon-web-services - 阻止人们从 s3 amazon Bucket 下载文件(图像)
- java - Spring JPA Query:与数字一起使用
- javascript - 多页表格不会超过第一部分
- tensorflow - 在 TPU 上运行时出错,“NotImplementedError: TPUStrategy.run(fn, ...) does not support pure eager execution.....”
- react-native - undefined 不是一个对象(评估'route.params.id')
- java - 按薪水排序:比较器没有显示错误,但不起作用
- c# - Net Core:在洋葱架构中使用OData,将查询参数转换为Linq
- android - Flutter [第一个应用程序] 在 android studio 和 vscode 上崩溃