How do I plot only a table in Matplotlib?

前端 未结 4 699
北荒
北荒 2020-11-27 05:16

Is it possible to draw only a table with matplotlib? If I uncomment the line

plt.bar(index, data[row], bar_width, bottom=y_offset, color=colors[row])
         


        
4条回答
  •  春和景丽
    2020-11-27 05:46

    You can di this:

    #axs[1].plot(clust_data[:,0],clust_data[:,1]) # Remove this if you don't need it
    axs[1].axis("off")  # This will leave the table alone in the window 
    

提交回复
热议问题