Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/video_analysis_per_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def forFrame(frame_number, output_array, output_count, returned_frame):

if (resized == False):
manager = plt.get_current_fig_manager()
manager.resize(width=1000, height=500)
manager.resize(1000, 500)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like newer versions on matplotlib renamed this parameter. According to the current docs available, parameters are w and h. Maybe they were different when @OlafenwaMoses wrote this code. One more reason to fix libraries versions on requirements.txt

resized = True

plt.subplot(1, 2, 1)
Expand Down