Skip to content

Commit 09244d4

Browse files
committed
Fixed outdated function call
1 parent 42c826b commit 09244d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/backends/VPython/canvas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ def __init__(self, height=500, width=888, title='', caption='', grid=True, g_typ
923923
# Reset the camera to known spot
924924
self.__reset_camera()
925925
self.__graphics_grid.update_grid()
926-
self.__graphics_grid.toggle_2d_3d()
926+
self.__graphics_grid.set_mode(GridType.XY2D)
927927

928928
#######################################
929929
# Canvas Management

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy