Skip to content

Commit 29a2a5d

Browse files
1 parent 81dac7a commit 29a2a5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roboticstoolbox/backends/PyPlot/PyPlot.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ def getframe(self):
416416
)
417417

418418
# make the background white, looks better than grey stipple
419-
self.ax.w_xaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
420-
self.ax.w_yaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
421-
self.ax.w_zaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
419+
self.ax.xaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
420+
self.ax.yaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
421+
self.ax.zaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
422422
plt.gcf().canvas.draw()
423423

424424
# render the frame and save as a PIL image in the list

0 commit comments

Comments
 (0)