我使用以下代码来生成pyplot的顶部和底部:添加填充到pyplot
plotCount = 1
for key in resultsDictionary:
count = 1
p1 = plt.subplot(5,1,plotCount)
plotCount+=1
for item in resultsDictionary[key]:
print count , item , key
plt.plot(item, count, marker='o')
count+=1
所生成的情节具有顶部和底部的结果的曲线图“压扁”。我怎样才能在图的顶部和图的大小上添加某种填充(或者可以设置图的确切大小(我知道最小/最大值)
如果任何人都可以指向我很欣赏