Skip to content

Conversation

@hugo-dc
Copy link
Member

@hugo-dc hugo-dc commented Aug 13, 2020

Fixes #154

Also, closes all charts after being used in order to not retain in memory, avoiding the warning message RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (matplotlib.pyplot.figure) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam figure.max_open_warning).

@hugo-dc hugo-dc requested a review from jwasinger August 13, 2020 06:08
@lgtm-com
Copy link

lgtm-com bot commented Aug 13, 2020

This pull request introduces 104 alerts when merging d35b66f into a156a28 - view on LGTM.com

new alerts:

  • 53 for Use of the return value of a procedure
  • 51 for Variable defined multiple times

@lgtm-com
Copy link

lgtm-com bot commented Aug 15, 2020

This pull request introduces 4 alerts when merging d35a61e into f1ed847 - view on LGTM.com

new alerts:

  • 3 for Use of the return value of a procedure
  • 1 for Variable defined multiple times

@lgtm-com
Copy link

lgtm-com bot commented Aug 15, 2020

This pull request introduces 4 alerts when merging ad90868 into f1ed847 - view on LGTM.com

new alerts:

  • 3 for Use of the return value of a procedure
  • 1 for Variable defined multiple times

Copy link
Contributor

@jwasinger jwasinger left a comment

Choose a reason for hiding this comment

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

@hugo-dc The CI generates the charts in a non-GUI environment which results in smaller resolution images, and is the reason this PR fails CI currently.

@hugo-dc
Copy link
Member Author

hugo-dc commented Aug 26, 2020

@jwasinger I created a Dockerfile to generate the charts in a docker instance, but it is generating the exact same files (no diff), I'll take a closer look at the CI and maybe try to use the same versions of the tools (OS, python, jupyter,etc).

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.

script opens too many charts

2 participants