r/pythonarcade • • Jul 30 '25

draw_rectangle_filled, draw_xywh_rectangle_filled, draw_lbwh_rectangle_filled

I'm using Python arcade on a MacBook. I'm running it in two different ways: either in a virtual environment on in the system installation of Python:

- from system installation

- from virtual environment run in a VS Code terminal

In the system installation, the methods draw_rectangle_filled and draw_xywh_rectangle_filled both exist and work. Running "pip show arcade" says arcade is at version 2.6.17 and python3 is at version 3.11.6.

In the virtual environment, neither of those exists, but draw_lbwh_rectangle does exist. Running "pip show arcade" also says arcade is at version 2.6.17. Also, Python in the virtual environment is version 3.11.6

Why the confusing difference between these? I'm getting ready to teach arcade to one of my tutoring students. He's on Windows and I want to make sure I'm not getting some weird Mac behavior.

1 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/red1127 Aug 02 '25

Aha! This shows that the virtual environment is using 3.3.2 and system installation is using 2.6.17. so apparently arcade got rid of draw_rectangle_filled() and replaced it with draw_lbwh_rectangle_filled().