Skip to content

Commit b296e71

Browse files
committed
fix matplotlib test bugs
1 parent 384e5c7 commit b296e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

brainpy/integrators/ode/tests/test_ode_method_adaptive_rk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def f(t):
4545

4646
if show:
4747
fig = plt.figure()
48-
ax = fig.gca(projection='3d')
48+
ax = fig.add_subplot(111, projection='3d')
4949
plt.plot(mon_x, mon_y, mon_z)
5050
ax.set_xlabel('x')
5151
ax.set_xlabel('y')

0 commit comments

Comments
 (0)