Skip to content

Update video_analysis_per_frame.py#402

Open
rEufrazio wants to merge 1 commit intoOlafenwaMoses:masterfrom
rEufrazio:master
Open

Update video_analysis_per_frame.py#402
rEufrazio wants to merge 1 commit intoOlafenwaMoses:masterfrom
rEufrazio:master

Conversation

@rEufrazio
Copy link
Copy Markdown

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

@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 6, 2019

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.96%. Comparing base (07a54d8) to head (a35adcc).
⚠️ Report is 114 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #402   +/-   ##
=======================================
  Coverage   49.96%   49.96%           
=======================================
  Files          63       63           
  Lines        5856     5856           
=======================================
  Hits         2926     2926           
  Misses       2930     2930           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

if (resized == False):
manager = plt.get_current_fig_manager()
manager.resize(width=1000, height=500)
manager.resize(1000, 500)
Copy link
Copy Markdown
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.

3 participants