3

Is it possible to use a multiple line cell in pyplot (Matplotlib) table ? ... or merge cells in pyplot table. Here an example :

import matplotlib.pyplot as plt

plt.figure()
table1 = [[1,2,3],[4,5,6]]
plt_table1=plt.table(cellText=table1, rowLabels=['Line 1\n and stuff', 'line 2'])
plt.axis('off')
plt.show()

Is it possible to use this idea ?

Clément v
  • 123
  • 1
  • 7

0 Answers0