文章目录 50.Bar:柱状图/条形图50.1 Bar - Stack_bar_percent50.2 Bar - Bar_rotate_xaxis_label50.3 Bar - Bar_stack0?50.4 Bar - Finance_indices_2002(略)50.5 Bar - Bar_base_dict_config50.6 Bar - Bar_with_brush50.7 Bar …
以下为bar的一个实例
import matplotlib.pyplot as plt
import numpy as npdata [[13,3,2,55,2,51,4,23],[12,34,1,13,55,24,13,13,4],[11,23,13,34,52,13,45,12,32,13],[12,43,24,13],[1,42,4,7,96,34,]]color_list[g,b,y,k,r]
gap 1/len(data)
for i,row in enumerate(dat…