1. 横向条形图
import numpy as np
import matplotlib.pyplot as plt
data = {
'Barton LLC': 109438.50,
'Farmi, Hills and Schmidt': 103569.59,
'Fritsch, Russel and Anderson': 112214.71,
'Jerde-Hipert': 112591.43,
'Keeling LLC': 100934.30,
'Koepp Ltd': 103660.54,
'Kulas Inc': 137351.96,
'Trantow-Barrows': 123381.38,
'White-Trantow': 135841.99,
'Will LLC': 104437.60}
group_data = list(data.values())
group_names = list(data.keys())
plt.rcParams.update({
'figure.autolayout':True})</