我试着按照这个tutorial来做一个测量matplotlib图,我能做三个。我想知道如何使它们并排排列。[我只是在遵循url中的原始代码]
gauge(labels=['LOW','MEDIUM','HIGH','EXTREME'], \
colors=['#007A00','#0063BF','#FFCC00','#ED1C24'], arrow=3, title='something')
gauge(labels=['LOW','MEDIUM','HIGH','EXTREME'], \
colors=['#007A00','#0063BF','#FFCC00','#ED1C24'], arrow=3, title='anything')
gauge(labels=['LOW','MEDIUM','HIGH','EXTREME'], \
colors=['#007A00','#0063BF','#FFCC00','#ED1C24'], arrow=3, title='nothing')
重构
gauge
函数,使其接受ax
参数:然后你可以打电话:
相关问题 更多 >
编程相关推荐