Skip to content

Commit

Permalink
Update PyPlot.py (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
renaudponcelet authored Aug 7, 2024
1 parent 81dac7a commit 29a2a5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roboticstoolbox/backends/PyPlot/PyPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ def getframe(self):
)

# make the background white, looks better than grey stipple
self.ax.w_xaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
self.ax.w_yaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
self.ax.w_zaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
self.ax.xaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
self.ax.yaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
self.ax.zaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))
plt.gcf().canvas.draw()

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

0 comments on commit 29a2a5d

Please sign in to comment.