plot_roc and gray heatmap are producing large number of matplotlib figures open warning
Opened this issue · 0 comments
pcm32 commented
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()