[Matplotlib-users] table border line color
Raoul Collenteur
info at raoulcollenteur.nl
Wed Dec 23 06:33:49 EST 2015
Hello,
I have been looking around for an answer to this question, but I have not come around anything yet. the matplotlib table feature works fine, but I need some help with the details. I want to change the border color of the table, but can’t figure out how to do this.
My code looks like this:
ax5 = plt.subplot()
ax5.xaxis.set_visible(False)
ax5.yaxis.set_visible(False)
text = 'Example'
colLabels='B'
ytable = ax5.table(cellText=text, colLabels=colLabels, loc='center')
ytable.scale(1,0.6)
Anyone knows how to change the border color of the table (cells)?
Cheers,
Raoul
More information about the Matplotlib-users
mailing list