1
0
Fork 0

Clear plt buf

better_develop
Filippo Martini 4 years ago
parent 23e3ced196
commit 4624070877
  1. 1
      PyCTBN/classes/structure_estimator.py

@ -286,6 +286,7 @@ class StructureEstimator(object):
name += '_' + str(self._sample_path._importer.dataset_id()) name += '_' + str(self._sample_path._importer.dataset_id())
name += '.png' name += '.png'
plt.savefig(name) plt.savefig(name)
plt.clf()
print("Estimated Structure Plot Saved At: ", os.path.abspath(name)) print("Estimated Structure Plot Saved At: ", os.path.abspath(name))