📜  matplotlib 图形大小不起作用 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:15.983000             🧑  作者: Mango

代码示例1
# One option and probably the best/most standard way, is to put the plt.figure before the plt.bar

import matplotlib.pyplot as plt

plt.figure(figsize=(20,10)) 
plt.bar(x['user'], x['number'], color="blue")