Skip to content
Snippets Groups Projects
Commit f98bfe4b authored by Andreas Freise's avatar Andreas Freise
Browse files

small fix for tools.py

parent 34a0c1da
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ def plot_error_contour(x,y,z,xlabel, ylabel, clabel, title='', filename=''):
# make symmetric color display
zlimit=np.max([abs(data.max()),abs(data.min())])
im = ax.imshow(data,origin='lower',extent=extent,cmap=mycm, aspect='auto', interpolation='nearest')
#im = ax.imshow(z[:,:,4],origin='lower',extent=extent,cmap=mycm, aspect='auto')
#im = ax.imshow(data,origin='lower',extent=extent,cmap=mycm, aspect='auto')
cb = fig.colorbar(im, format="%.4g")
cb.set_clim(-1.0*zlimit, zlimit)
ax.autoscale(False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment