SCCAF / sccaf

Single-Cell Clustering Assessment Framework
MIT License
90 stars 19 forks source link

plot_roc and gray heatmap are producing large number of matplotlib figures open warning #15

Open pcm32 opened 4 years ago

pcm32 commented 4 years ago

plot_roc: line 1017 heatmap: line 992

/usr/local/lib/python3.6/site-packages/SCCAF/__init__.py:1017: 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`).
  plt.figure()
... storing 'L1_Round2_self-projection' as categorical
/usr/local/lib/python3.6/site-packages/scanpy/plotting/utils.py:411: 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`).
  subplotpars=sppars(left=0, right=1, bottom=bottom_offset))
/usr/local/lib/python3.6/site-packages/SCCAF/__init__.py:992: 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`).
  fig = plt.figure()
/usr/local/lib/python3.6/site-packages/SCCAF/__init__.py:1017: 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`).
  plt.figure()
... storing 'L1_Round2_self-projection' as categorical
/usr/local/lib/python3.6/site-packages/scanpy/plotting/utils.py:411: 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`).
  subplotpars=sppars(left=0, right=1, bottom=bottom_offset))
/usr/local/lib/python3.6/site-packages/SCCAF/__init__.py:992: 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`).
  fig = plt.figure()