CFDPython icon indicating copy to clipboard operation
CFDPython copied to clipboard

Step 5: matplotlib error

Open neronotdante opened this issue 3 years ago • 3 comments

gca() with keyword arguments was deprecated in Matplotlib 3.4 usingsubplot() or add_subplot()may resolve the question

neronotdante avatar Apr 26 '22 13:04 neronotdante

您的来信已收到,谢谢!

bugleilei avatar Apr 26 '22 13:04 bugleilei

using "ax = fig.add_subplot(111, projection='3d')" solved the problem in my case

unverozkol avatar Oct 02 '22 21:10 unverozkol

It looks like the first argument is optional in matplotlib.

ax = fig.add_subplot(projection='3d')

worked for me.

onitake avatar Oct 24 '22 20:10 onitake