Chris fix error handle

This commit is contained in:
Cal Wing 2024-10-15 21:22:40 +10:00
parent cf2c826226
commit fe960d1dea

View File

@ -476,7 +476,7 @@ def canny_shock_finder(time_list, pressure_list, sigma = 4, derivative_threshold
mplt.show() mplt.show()
except Exception as e: except Exception as e:
print ("{0}: {1}".format(type(e).__name__, e.message)) print (e)
print ("There was an issue plotting the result.") print ("There was an issue plotting the result.")
mplt.close('all') mplt.close('all')