Skip to content

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

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.

3 participants