Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Close unused figure in error case
· 0b17d35e
Alan De Smet
authored
Nov 20, 2018
0b17d35e
Hide whitespace changes
Inline
Side-by-side
pyglance/glance/figures.py
View file @
0b17d35e
...
...
@@ -277,6 +277,7 @@ def create_complex_scatter_plot(dataList, title, xLabel, yLabel, epsilon=None, u
sumDataSize
+=
dataX
.
size
if
(
sumDataSize
<=
1
):
LOG
.
debug
(
"
Not enough data to make a meaningful scatter plot figure.
"
)
plt
.
close
(
figure
)
return
None
# look at the stuff in each of the data sets and plot that set
...
...