Open MarkleJam opened 6 years ago
ax = pc.get_axes() to ax = pc.axes
@AdrienPlayerium Thanks a lot. It really works.
Hi. When I run the plot_emotion_matrix.py, I find an error:
File "plot_emotion_matrix.py", line 20, in
I am wondering how to solve it
@snowalala if you are still looking, wild guess, but you are probably using python3, so just use range() instead of xrange()
@KiwiTae Thanks a lot. It really works.
Hi. When I run the plot_emotion_matrix.py, I find an error: AttributeError: 'PolyCollection' object has no attribute 'get_axes'. Below is the function concerning the error. I am wondering how to solve it
def show_values(pc, fmt="%.2f", **kw):
#from itertools import zip
pc.update_scalarmappable()
ax = pc.get_axes()