Skip to content
Snippets Groups Projects
Commit 7d580df5 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent de325e0e
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ def plot_roc_curve(correct_labels, prob_pos_class):
plt.savefig('/home/rink/test_roc', dpi=320)
def plot_image(image, fname=None, cmap='Greys', vmin=-1.5, vmax=2.5):
def plot_image(image, fname=None, cmap='Greys', vmin=None, vmax=None):
Fig, ax = plt.subplots()
# Plot the image
......@@ -187,8 +187,8 @@ def plot_image(image, fname=None, cmap='Greys', vmin=-1.5, vmax=2.5):
Fig.show()
# Wrap up
Fig.clf() # Otherwise fig stays open every time
plt.close() # Close current figure
#Fig.clf() # Otherwise fig stays open every time
#plt.close() # Close current figure
# plt.close('all')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment