Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update video_analysis_per_frame.py #402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rEufrazio
Copy link

manager.resize() method does not expect width and height parameters.

@codecov-io
Copy link

Codecov Report

Merging #402 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #402   +/-   ##
=======================================
  Coverage   49.96%   49.96%           
=======================================
  Files          63       63           
  Lines        5856     5856           
=======================================
  Hits         2926     2926           
  Misses       2930     2930

@@ -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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants