he7d3r / desafio-engenharia-dados

MIT License
2 stars 0 forks source link

RuntimeWarning: More than 20 figures have been opened #1

Open he7d3r opened 3 years ago

he7d3r commented 3 years ago
  1. Access https://import-export-dashboard.herokuapp.com
  2. Play with the menus for a while
  3. Look at the output of heroku logs --tail

At some point, there will be a waning like this:

2021-01-20T11:57:35.888640+00:00 app[web.1]: /dashboard/src/routes.py:201: 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). 2021-01-20T11:57:35.888665+00:00 app[web.1]: fig, ax = plt.subplots()

he7d3r commented 3 years ago

See e.g. https://stackoverflow.com/questions/21884271/warning-about-too-many-open-figures

jonathands commented 6 months ago

Man, trying scams on github? Get a life...