plot_emotion_matrix.py 'PolyCollection' has no attributes 'get_axes()'
See original GitHub issueHi. 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()
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
'PolyCollection' object has no attribute 'get_axes' · Issue #76 ...
AttributeError: 'PolyCollection' object has no attribute 'get_axes' #76 ... main() File "main.py", line 246, in main nn.fit()
Read more >Getting axes of matplotlib.collections.PolyCollection
Having a look at the documentation, axes is an existing property while get_axes is not. It should return the Axes instance as intended....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ax = pc.get_axes() to ax = pc.axes
@KiwiTae Thanks a lot. It really works.